LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 12:42 PM   #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, 01:02 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,362

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
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, 01: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, 01: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, 08:01 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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 10:10 AM
ftp from windows 7 to linux ftp server shenno Linux - Newbie 6 12-26-2011 10:34 AM
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 05:35 PM


All times are GMT -5. The time now is 04:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration