Sending Data - ftp from UNIX Command Line
Using a command line version of the FTP:
- Open a terminal
- Change Directory into the folder containing the file you wish to send.
- Start the FTP session by typing "ftp"
- At the "ftp> " prompt type in "open"
- When prompted for the location type in "ftp.apcircuits.com"
- Once connected you will be asked for a login name
Login: "anonymous"
Password: your valid E-mail address
- Change your transfer method to BINARY.
- Turn on visual feedback
- Copy the files into the folder
Below is a sample of what a UNIX command line session might
look like from a command prompt. NOTE: user input is hilighted in
red and enclosed in a box.
|
| $ ftp |
| ftp> open ftp.apcircuits.com |
| Connected to apcircuits.com. |
| 220- Welcome to the APC order drop site |
| 220- |
| 220- To help us identify your jobs please ensure that all files related |
| 220- to a single job are in a single zip file. Additionally, please |
| 220- use a valid email address as your password in case we need to get |
| 220- a hold of you. |
| 220- |
| 220- Thank-you. |
| 220 www FTP server (Version 6.00LS) ready. |
| User (apcircuits.com:(none)): anonymous |
| 331 Guest login ok, send your email address as password. |
| Password: staff@apcircuits.com |
| 230 Guest login ok, access restrictions apply. |
| ftp> binary |
| 200 Type set to I. |
| ftp> hash (Comment: Optional command for visual transfer confirmation hash marks.) |
| Hash mark printing on (1024 bytes/hash mark). |
| ftp> lcd /tmp |
| Optional command for switching local directory |
| Local directory now /usr/tmp |
| ftp> put ffastlog.zip |
| 200 PORT command successful. |
| 150 Opening BINARY mode data connection for ffastlog.zip. |
| ######### |
| 226 Transfer complete. |
| ftp: 223800 bytes sent in 0.01 Seconds 2238000.00Kbytes/sec. (Comment: Speeds may vary by connection.) |
| ftp> quit |
| 221 Thank you for your order, have a nice day. |
|