LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-28-2005, 06:33 AM   #1
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 15
ftp listing does not work


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

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

Original Poster
Rep: Reputation: 15
Cool

Thanks!
 
  


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
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 01:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration