Home > Support > Resource Center > FTP Session Example
FTP Session Example
This is an example of a simple ftp session. We support a wide range of ftp connectivity options not shown here. Our
technical support is available 24 hours a day, 7 days a week to answer your questions and support your communication needs.
Basic FTP Commands
| ls |
lists the files in the current remote directory |
| help |
requests a list of the available FTP commands |
| get |
copies a file from the remote computer to the local computer |
| put |
copies a file from the local computer to the remote computer |
| bye |
lists the files in the current remote directory |
| ascii |
sets the mode of the file transfer to ASCII (default mode)
|
| binary |
sets the mode of the file transfer to binary |
Step 1: Connect to Kleinschmidt
Using your FTP software, FTP to Kleinschmidt at:
FTP.KLEINSCHMIDT.COM
a banner similar to the following will be displayed:
FTP Client - COPYRIGHT TANDEM COMPUTERS INCORPORATED
Connecting to ftp.kleinschmidt.com.........Established.
220 Kleinschmidt EDI FTP server ready.
Name (ftp.kleinschmidt.com:user): |
Step 2: Login to Kleinschmidt
At the prompt, enter your login ID
Name (ftp.kleinschmidt.com:user): loginID
you will then be prompted for your password:
331 Password required.
Password:
|
Enter your password
Password: password
you will receive confirmation that you are logged in:
230 User logged in, proceed.
ftp>
|
Step 3: Send Data to Kleinschmidt
At the prompt, enter an ftp
put command and the name of the file you wish to transmit
ftp> put filename
you will receive confirmation that your file has been transferred:
200 PORT Command Successful
150 Opening Data connection
226 Transfer Complete.
local: filename remote: filename
XXX bytes sent in X.X seconds (XX.XX Kbytes/s)
ftp>
|
Step 4: (Optional) List the Mailboxes/Files in your Directory
at the prompt, enter an ftp
ls command
ftp> ls
you will receive a list of the mailboxes/files in the directory:
200 PORT Command Successful
150 Opening ASCII mode data connection.
mailboxname
mailboxname.prior
226 Transfer Complete.
X bytes received in X.X seconds ( XX.XX Kbytes/s)
ftp>
|
Step 5: Retrieve a Mailbox/File
at the prompt, enter an ftp
get command and the name of the mailbox/file you wish to retrieve
ftp> get mailbox/filename
you will receive confirmation that your file has been transferred:
200 PORT Command Successful
150 Opening ASCII mode data connection.
226 Transfer Complete.
local: mailbox/filename remote: mailbox/filename
XXX bytes received in X.X seconds ( XX.XX Kbytes/s)
ftp>
|
Step 6: Close the Connection
at the prompt, enter an ftp
bye command
ftp> bye
you will receive confirmation that you are logged off:
Request
Information