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 |
| |
| eg.2 |
| |
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 | |
| 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 |
Parameters |
|
| The IP address of the FTP server in decimal dotted notation for |
| establishing a FTP connection |
Example | eg.1 |
| |
| eg.2 |
| |
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 |
Parameters |
|
| Name of the file to retrieved from the FTP server including the |
| complete path |
Example | eg.1 |
| |
| eg.2 |
| |
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 |