Scenario 10 - Receiving A File From The Ftp Server - Multitech MultiConnect MTS2SA-T User Manual

Serial-to-serial adapter with ip
Hide thumbs Also See for MultiConnect MTS2SA-T:
Table of Contents

Advertisement

Scenario 10 - Receiving a File from the FTP
Server
This scenario describes the receiving of a file from the FTP server:
a) With Automatic Authentication enabled by specifying a few authentication details: IP address of the
device and a valid login name
b) Data connection in ACTIVE mode.
Description
Configuration
Command
Result Response
How to Close or Abort the FTP Session
The host can abort the FTP session by issuing "Ctrl+C" at any given time.
How to Abort a File Transfer Session
The host can abort the file transfer by issuing "Ctrl+C" with a delay of 3 seconds. The file into which
data was written will be deleted by the client, and the data connection will be closed.
Note About Read and Store
The serial device has to read and store the data received. It has to implement timeout mechanisms to
come out in cases where the network is prone to errors.
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)
The MultiConnect IP establishes a control connection to the specified FTP server,
automatically checks for the configured values, and logs into the FTP server. If the
user is a valid user, the MultiConnect IP prompts the host device to enter the
Password shown here:
Password: **** <CR>
If successfully logged in, the MultiConnect IP sends a message and prompts the
host device to enter a Filename, and then it sends a message as below:
Connected
Filename: filename <CR>
size = <filesize from server>
Press <CR> to receive file
<CR>
------ File Transfer ----
When the complete file is received, the FTP session responds with OK.
By default the data connection is in active mode. The client sets the data transfer
mode as 'BINARY/IMAGE' during the file transfer.
Note: If the '-p' option is specified in the command, the data connection will be in
passive mode
set ftp machine <ip-address/host-name> login <user-name>
ftp -r [-p] ip-address
OK: FTP session closed
Chapter 15 – FTP Client
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multiconnect mts2sa-t-r

Table of Contents