LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2012, 11:42 AM   #1
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Rep: Reputation: Disabled
FTP in linux redhax 5


Dear All.
I am using win 7 as host and redhax 5 as guest on vmware.
I want to share the file between these two os.
i want to send file from guest linux on vmware to win 7.
i past this command to configure the ftp in linux terminal
ftp 192.168.252.1
this is the ip of my win 7.
but this return time out for connection error.
both system are pingable.
please give the detail steps to share the file between two os.
 
Old 10-24-2012, 12:02 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
Is your windows machine running an ftp server? You can't connect via ftp unless the host is running an ftp server to listen for connections.

The easiest way is to install the VMWare tools (which should be the first thing you do when setting up ANY VMWare guest machine), and then set up a shared folder which both host and guest will have access to.
 
Old 10-24-2012, 12:11 PM   #3
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
ftp in linux

How to configure the win 7 ftp server.???
and i am unable to install vmtooll...
 
Old 10-24-2012, 12:25 PM   #4
mmheera
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Ubuntu, Debian, Fedora,Windows 7
Posts: 107

Rep: Reputation: 11
You can get connection time out error for many reasons. Please make sure that the firewall is not blocking the ftp connection. Also make sure ftp service is running on the host you are trying to connect to. FTP services use port number 21 for connection and you can check on your windows machine if that port is open (which I guess is not):

netstat -na | find "21"

By default ftp is not installed in win 7. You may install it from control panel > programs and features > turn windows feature on or off and then under Internet Information Services.

Anyway, I would recommend, to go through this procedure using samba file sharing method as described in the following link. Check the part titled: "Sharing Files by Connecting to a Windows System from a Linux System"

Sharing Files Between Guest and Host Operating Systems

Thanks!
 
Old 10-24-2012, 07:01 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,440

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
This might be useful; you will be using more than just port 21
http://slacksite.com/other/ftp.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate FTP / Scripting FTP Transfers files from linux to windows m/c ashishshukla Programming 5 05-26-2016 09:10 AM
ftp from windows 7 to linux ftp server shenno Linux - Newbie 6 12-26-2011 09:34 AM
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration