Quote:
Originally Posted by ahlsner
In NBSD, I've tried often FTP, but the server "eject" me because it doesn-t like anonymous. Please, show me the syntax for connecting in anonymous mode on a ftp server. The man ftp is too verbose for me, and I search a simple command.
|
This works for me:
Code:
$ ftp ftp.netbsd.org
Connected to ftp.netbsd.org.
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20080916) ready.
Name (ftp.netbsd.org:xxx): ftp
331 Guest login ok, type your name as password.
Password: foo@bar
230-
The NetBSD Project FTP Server located in Redwood City, CA, USA
1 Gbps connectivity courtesy of , ,
... <much of login message snipped out> ...
230 Guest login ok, access restrictions apply.
bin
200 Type set to I.
?Invalid command
?Invalid command
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Note: I typed the username "ftp" (you should also be able to use "anonymous", but since it's long the chance of making a typo are too high, so use "ftp"). I typed the password "foo@bar", although it does not echo I showed it above ... you could probably type anything you want there.
The first form is correct, ping just needs/wants a hostname. The second form is wrong, since it's a URL and the ftp:// in front specifies a protocol to use, and this is meaningless to ping.
That should work. I also like to use the mirror
ftp://ftp2.us.NetBSD.org, it's fast ... but you are in France so I don't know if it will be faster than something close to you. Good luck with it.