beautypg.com

Chapter 15 – ftp client, Introduction, Ftp client features – Multi-Tech Systems MTS2SA-T User Manual

Page 160

background image

Chapter 15 – FTP Client

Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)

160

Chapter 15 – FTP Client

Introduction


The FTP Client is used to establish a TCP session to the FTP server running on port 21. This chapter
covers the FTP Client Features and provides you with ten FTP Client Scenarios.

FTP Client Features

Supports automatic authentication to the FTP server depending on the configuration.

Supports listing the contents of the specified directory of the FTP server

Supports active and passive modes of data transfer.

Supports sending files from the host/serial device to the FTP server.

Supports receiving files from the FTP server to the host/serial device.

Command to List Directory Contents or to Send/Receive
Files

The host/serial device can use the following command to list the contents of the directory or to send/
receive text/binary files to/from a remote server depending upon the requirement.

ftp < [-l] [-t] [-r] > [-p]

The FTP command will prompt for the details required if these details were not configured previously.

Important:

1.

The user must have access permission to perform the above functionality.

2.

FTP client cannot be accessed through a Telnet session.

3.

By default, the data connection is in active mode. This can be optionally changed to passive
mode by using -p option in the command.

4.

By default, the Format control is set to NON_PRINT, the structure type is set to FILE, and the
Transmission mode is set to STREAM mode in the client.

5.

The file transfer can be done only if the server supports BINARY/IMAGE data type.

6.

The file can be received only if the server supports SIZE command.

This manual is related to the following products: