Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


LinkBack Search this Thread
Old 11-28-2005, 06:33 AM   #1
Registered: Nov 2005
Posts: 144

Rep: Reputation: 15
ftp listing does not work

When I login to via
and log in as an anonymous user, I can change directories and download files, but whenever I try to list a directory, bash says:
ftp> ls
200 PORT command successful
and that's it. Aftervsome time, bash says:
425 Unable to build data connection: Connection timed out
What am I doing wrong?
Old 11-28-2005, 06:44 AM   #2
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,772

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
You must use passive mode (I guess you're behind a firewall). So at the ftp prompt give:
ftp> pas
Old 11-28-2005, 07:42 AM   #3
Registered: Nov 2005
Posts: 144

Original Poster
Rep: Reputation: 15



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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp file listing: how to pipe to less? Lotharster Linux - Newbie 2 11-29-2005 08:45 PM
Recursively listing files over FTP? overbored Linux - Software 4 10-14-2004 12:12 PM
Getting Apache to spawn FTP listing? Mamour Linux - Networking 1 09-02-2003 03:52 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM
Ftp listing problem piranha Linux - Networking 1 01-21-2002 12:35 AM

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