
(Revised 2010-7-2) page 106 of 145
FTP Commands
Set Username
To set the user name which will be used to log into the FTP server
ftp set username <Username>
Username
The user name for logging on to the FTP server
eg.1
N-TRON/Admin#[1]> ftp set username ntron
eg.2
N-TRON/Admin#[1]> ftp set username admin
The user name should be a valid one; else logging into FTP server will
fail.
Set Password
To set the password for the above user name
Password
Password for the above user required to log into the FTP server
N-TRON/Admin#[1]> ftp set password
Enter the password : ******
The password should be a valid one for the user; else logging into the
FTP server will fail.
Set IP Address of FTP server
To set the IP address of the FTP server to be used for establishing the
FTP connection for transfer of files/data
ftp set serverip <Server-IP-address>
Server-IP-address
The IP address of the FTP server in decimal dotted notation for
establishing a FTP connection
eg.1
N-TRON/Admin#[1]> ftp set serverip 10.1.1.100
eg.2
N-TRON/Admin#[1]> ftp set serverip 15.1.1.150
The IP address of the FTP server should be a valid IP address (excluding
Class D & Class E types). The IP address should also be a valid FTP
server IP in order to ensure successful connection establishment.
Set Name of the Remote File
To set the name of the remote file which has to be retrieved from the
FTP server
ftp set remotefile <Remote-file-name>
Remote-file-name
Name of the file to retrieved from the FTP server including the
complete path
eg.1
N-TRON/Admin#[1]> ftp set remotefile Flash
eg.2
N-TRON/Admin#[1]> ftp set remotefile /usr/local/ftp/flash
The file name (including the complete path) should be a valid name else
retrieval of the file would fail.