
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 52
FTP Client Commands – Setup
FTP Client Commands
Command Syntax set ftp device <default/ip-address/host-name>
login <username>
[password <password> [account <account password >]
Description
Sets/clears the device login name, password and account password details that will
be used by FTP for automatic authentication.
The Password is an optional parameter and can be configured along with the
machine and login names only
The Account Password is an optional parameter and can be configured along with
device login name and password only.
The IP module prompts for login name and password if these details are NULL.
Note: "set ftp machine" resets all these parameters to NULL
Default Value
NULL
Success
OK
Error 1. Invalid arguments
"error: Login name cannot be null
Type 'set ftp ?' for more information
2. Invalid arguments
error: Password cannot be null
Type 'set ftp ?' for more information
3. Invalid arguments
error: Account Password cannot be null
Type 'set ftp ?' for more information
4. Invalid arguments
error: Invalid usage
Type 'set ftp ?' for more information
5. Too few arguments
“Usage: set ftp machine <default/ip-address/hostname (1-40)> login <username
(1-20)> [password <password (1-20)>] [account <account password (1-20)>]
Type 'set ftp ?' for more information
Command Syntax set ftp filename <filename>
Description
Sets the name of the file to be transferred or retrieved during an FTP session.
Default Value
NULL
Success
OK
Error 1. Too few arguments
"Usage: set ftp filename <filename>
'set ftp filename ?' for more information
Command Syntax set ftp filesize <filesize>
Description
Sets the size of the file to be transferred during an FTP session.
Default Value
NULL
Success
OK
Error 1. Too few arguments
"Usage: set ftp filesize <filesize>
'set ftp filename ?' for more information
2. Invalid Filesize
Error: type 'set ftp filesize ?' for more information
Command Syntax set ftp directory <directory>
Description
Sets the path from which the file(s) can be listed/transmitted or retrieved.
Default Value
NULL
Success
OK
Error 1. Too few arguments
"Usage: set ftp directory <directory>
'set ftp directory ?' for more information
Comentários a estes Manuais