Multi-Tech Systems MTS2SA-T-R Network Card User Manual


 
Chapter 15 – FTP Client
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 162
Scenario 1 - Listing Directory Contents
This scenario describes how to list the contents of the specified directory of the FTP server without
Automatic Authentication (default) and the data connection in ACTIVE mode.
Description
The MultiConnect IP establishes the control connection to the specified FTP
server and prompts the host device to enter the login name, password:
Name (ip-address:admin): mtss <CR>
Password: **** <CR>
If successfully logged in, MultiConnect IP sends a message and prompts the host
device to enter the remote directory, the contents of which will then be displayed.
Connected
Remote directory: <CR> or <Directory-Path>
If the Host simply enters <CR> without specifying the directory, then the contents
of the present working directory are listed. If the complete path of the directory is
given, then the contents of that directory are listed.
By default the data connection is in active mode. The client sets the data transfer
mode as ‘ASCII’ to receive the list of contents of the directory.
Configuration
None
Command
ftp -l ip-address
Result Response
OK: FTP session closed
Scenario 2 - Listing Directory Contents
This scenario describes how to list the contents of the specified directory of the FTP server without
Automatic Authentication (default) and the data connection in PASSIVE mode.
Description
The MultiConnect IP establishes the control connection to the specified FTP
server and prompts the host device to enter the login name, password:
Name (ip-address:admin): mtss <CR>
Password: **** <CR>
If successfully logged in, MultiConnect IP sends a message and prompts the host
device to enter the remote directory, the contents of which will then be displayed.
Connected
Remote directory: <CR> or <Directory-Path>
If the Host simply enters <CR> without specifying the directory, then the contents
of the present working directory are listed. If the complete path of the directory is
given, then the contents of that directory are listed.
The data connection is in passive mode due to the '-p' option. The client sets the
data transfer mode as ‘ASCII’ to receive the list of contents of the directory.
Configuration
None
Command
ftp -l -p ip-address
Result Response
OK: FTP session closed