FTP Commands

Set Username

Command Name

ftp set username

Description

To set the user name which will be used to log into the FTP server

Syntax

ftp set username <Username>

Parameters

Username

 

The user name for logging on to the FTP server

Example

eg.1

 

N-TRON/Admin#[1]> ftp set username ntron

 

eg.2

 

N-TRON/Admin#[1]> ftp set username admin

Notes

The user name should be a valid one; else logging into FTP server will

 

fail.

Set Password

 

Command Name

ftp set password

Description

To set the password for the above user name

Syntax

ftp set password

Parameters

Password

 

Password for the above user required to log into the FTP server

Example

N-TRON/Admin#[1]> ftp set password

 

Enter the password : ******

 

 

Notes

The password should be a valid one for the user; else logging into the

 

FTP server will fail.

Set IP Address of FTP server

 

Command Name

ftp set serverip

Description

To set the IP address of the FTP server to be used for establishing the

 

FTP connection for transfer of files/data

Syntax

ftp set serverip <Server-IP-address>

Parameters

Server-IP-address

 

The IP address of the FTP server in decimal dotted notation for

 

establishing a FTP connection

Example

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

Notes

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

 

Command Name

ftp set remotefile

Description

To set the name of the remote file which has to be retrieved from the

 

FTP server

Syntax

ftp set remotefile <Remote-file-name>

Parameters

Remote-file-name

 

Name of the file to retrieved from the FTP server including the

 

complete path

Example

eg.1

 

N-TRON/Admin#[1]> ftp set remotefile Flash

 

eg.2

 

N-TRON/Admin#[1]> ftp set remotefile /usr/local/ftp/flash

Notes

The file name (including the complete path) should be a valid name else

 

retrieval of the file would fail.

5/17/2007

page 100 of 138

Page 100
Image 100
N-Tron 9000 Series user manual FTP Commands, 17/2007 100