Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-03-2005, 01:07 AM
|
#1
|
Member
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141
Rep:
|
Cannot mput/mget/ls in a ftp server ... But can login to it!!!!
hi ...
i am running a vsftpd on my machine ..
i have configured vsftpd to allow local users to login to it ..
So the login phase goes on well and good but if i try to list the contents of the directory , "mget"ing "mput"ing something to it .. ftp exits with an error message
Code:
ftp>ls
227 Entering Passive Mode (192,168,3,99,100,152)
ftp: connect: No route to host
ftp>
why????
any solutions??
thnks
tuxfood
|
|
|
12-03-2005, 07:11 PM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
The problem appears to be with passive mode. For FTP, there are two connections, one for commands and one for data. In active mode, the server connects back to the client to initiate the data transfer, but since many people are behind firewalls etc. most use passive FTP. In passive FTP, the client opens a second connection to the server on some high numbered port for the data chennel. Your problem appears to be that the client can't make the second connection. Do you have a firewall in front of your FTP server? If so, you'll need to open up whatever ports your FTP server uses for passive FTP through it. This is why connecting and command like cd work, but anything that transfers data, like the result of the ls command, does not. Do a google on passive ftp and see this page for more information.
Last edited by btmiller; 12-03-2005 at 07:15 PM.
|
|
|
All times are GMT -5. The time now is 01:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|