Using anonymous FTP with a command line system

Connect using FTP by entering the following information where it is appropriate:

URL – your domain name (e.g. yourname.com)

Username – anonymous

Password – your complete email address (e.g. yourname@yourname.com)

 

IMPORTANT: After you have logged in, change the remote directory to your domain  (e.g. yourname.com).

 

EXAMPLE: The example below uses the domain “yourname.com.” In the example, the file “newtest.txt” is downloaded from the domain.

 

> ftp yourname.com

Connected to yourname.com.

220 Website FTP Server Ready

Name (yourname.com:user): anonymous

331 Anonymous login ok, send your complete email address as your password.

Password: password

230 Anonymous access granted, restrictions apply.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> cd yourname.com

250 CWD command successful.

ftp> ls

200 PORT command successful.

150 Opening ASCII mode data connection for file list.

-rw-r--r--   1 yourname.com 0              6 Oct  3 04:00 newtest.txt

-rw-r--r--   1 yourname.com 100       200 Nov  1 19:16 test

226 Transfer complete.

ftp> get newtest.txt

local: newtest.txt remote: newtest.txt

200 PORT command successful.

150 Opening BINARY mode data connection for newtest.txt (6 bytes).

100% |**************************************************|     6       00:00 ETA

226 Transfer complete.

6 bytes received in 0.01 seconds (0.70 KB/s)

ftp> 221 Goodbye.