Step | What you'll see | What you're doing |
---|---|---|
1 | C:\Windows> ftp
milk.shake.org
Connected to milk.shake.org. 220 ProFTPD 1.2.0pre10 Server (Welcome to Milk) [milk.shake.org] User (milk.shake.org:(none)): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: you@yourcompany.com 230-You are user #2 of 50 simultaneous users allowed. 230- 230 Logged in anonymously. |
Opening an FTP session
Logging in as an anonymous user Providing your e-mail address or name as a password However it is better to user your shell username and password |
2 | ftp> cd ~username
250 CWD command successful. |
Change directories to your home directory.
Your files will be sent to this directory. |
3 | ftp> lcd c:\myfiles Local directory now c:\myfiles. |
Telling the session which directory the file(s) you wish to send are in on your computer. |
4 | ftp> bin 200 Type okay. ftp> hash Hash mark printing On ftp: (2048 bytes/hash mark) . ftp> prompt |
Preparing to send Setting the binary send switch. Setting the hash mark printing to ON Setting prompt mode to ON. |
To send only one file | ||
5a | ftp> put myfiles.zip (you could also use
send in place of put) Interactive mode Off . 200 PORT command successful. 150 Opening BINARY mode data connection. ##### 226 Transfer completed. ftp: 10752 bytes sent in 1.15Seconds 9.35Kbytes/sec. |
Putting (or sending) your file to our FTP site. The hash marks ( # ) will display continuously until the transfer is complete. |
To send multiple files | ||
5b | ftp>mput *.zip (you could also use
msend in place of mput) 200 PORT command successful. 150 Opening BINARY mode data connection. ##### 226 Transfer completed. ftp: 10752 bytes sent in 1.15Seconds 9.35Kbytes/sec. 200 PORT command successful. 150 Opening BINARY mode data connection. ##### 226 Transfer completed. ftp: 10752 bytes sent in 1.26Seconds 8.53Kbytes/sec. |
Putting (or sending) multiple files to our FTP site
using a wildcard. The hash marks ( # )
will display continuously until each transfer is complete. Each file will begin transferring automatically until all are done. |
6 | ftp> by | Closing out and ending the FTP session. |