Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-03-2005, 01:07 AM   #1
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
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

227 Entering Passive Mode (192,168,3,99,100,152)
ftp: connect: No route to host

any solutions??


Old 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,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.


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
mput all in ftp snoble Linux - Software 0 11-02-2004 04:36 PM
Why we use bin before mget and mput during ftp indian Linux - General 1 09-04-2004 11:14 AM
Ftp and mget phishman3579 Slackware 1 07-31-2003 11:12 AM
ftp mget Sammy2ooo Linux - Networking 2 05-06-2003 11:53 AM
usage of mget FTP command sancho5 Linux - General 1 12-31-2001 09:27 AM > Forums > Linux Forums > Linux - Networking

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

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