Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm reading this RFC and just for exercise I am trying to connect to a FTP site. I'm trying to connect to ftp.freebsd.org via terminal. However as I've read in the RFC, an anonymous user is allowed to list files. But strangely if I use the ls command it asks me to login with user and pass:

530 Please login with USER and PASS.

If I try to login with the USER command it tells me this:

530 Sorry, only anonymous ftp allowed.

That sounds like contradictory to me. How do I get a non anonymous connection to that site?

share|improve this question

migrated from serverfault.com Jan 15 '13 at 22:54

This question came from our site for professional system and network administrators.

1 Answer 1

up vote 2 down vote accepted

The typical implementation for anonymous FTP access is to log on with the username of anonymous and the password being your email address.


Here's the output of what I ran. If you can post the output if your terminal session that might help us a lot:

C:\Users\mark.henderson>ftp ftp.freebsd.org
Connected to ftp.freebsd.org.
220 beastie.tdk.net FTP server (Version 6.00LS) ready.
User (ftp.freebsd.org:(none)):
500 USER : command not understood.
Login failed.
ftp> ls
530 Please login with USER and PASS.
530 Please login with USER and PASS.
ftp> user anonymous
331 Guest login ok, send your email address as password.
Password:
230 Guest login ok, access restrictions apply.
share|improve this answer
    
If I try "user anonymous" I get the same error: "530 Sorry, only anonymous ftp allowed.". –  Ramy Al Zuhouri Jan 15 '13 at 22:57
    
What did you type for the password? –  Scott Chamberlain Jan 15 '13 at 23:02
    
@RamyAlZuhouri - see updated answer –  Mark Henderson Jan 15 '13 at 23:06
    
Ok the problem is that I was typing "user anonymous" too early, when ftp wasn't accepting commands. –  Ramy Al Zuhouri Jan 15 '13 at 23:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.