FTP Session Example

FTP Session Example

This is an example of a simple ftp session. We support a wide range of ftp connec­tivity options not shown here. Our technical support is available 24 hours a day, 7 days a week to answer your questions and support your commu­ni­ca­tion needs.

Basic FTP Commands

lslists the files in the current remote directory
helprequests a list of the available FTP commands
getcopies a file from the remote computer to the local computer
putcopies a file from the local computer to the remote computer
byelists the files in the current remote directory
asciisets the mode of the file transfer to ASCII (default mode)
binarysets the mode of the file transfer to binary


Step 1: Connect to Klein­schmidt
Using your FTP software, FTP to Klein­schmidt at:

FTP.KLEINSCHMIDT.COM

a banner similar to the following will be displayed:

FTP Client — COPYRIGHT TANDEM COMPUTERS INCOR­PO­RATED
Connecting to ftp.kleinschmidt.com.….….Established.
220 Klein­schmidt EDI FTP server ready.
Name (ftp.kleinschmidt.com:user):


Step 2: Login to Klein­schmidt
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 confir­ma­tion that you are logged in:

230 User logged in, proceed.
ftp>


Step 3: Send Data to Klein­schmidt
At the prompt, enter an ftp put command and the name of the file you wish to transmit

ftp> put filename

you will receive confir­ma­tion 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 confir­ma­tion 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 confir­ma­tion that you are logged off:

221 Goodbye.