Specifications of the FTP server |
|
| |
Port: |
| No. 21 | |
Connection | 15min | ||
Number of connections at the same time: 1 | |||
Corresponding command |
|
| |
|
|
|
|
Command | Operation |
| Response |
USER | To enter the user name |
| 331, 500, 530 |
PASS | To enter the password |
| 230, 500, 503, 530 |
PORT | To notify the data port No. |
| 200, 500 |
TYPE | To switch the file type |
| 200 |
PWD(XPWD) | To display the current directory |
| 257 |
RETR | To acquire the file |
| 150, 226, 510, 552, 550 |
PASV | To enable the passive mode |
| 227, 510 |
LIST(NLST) | To acquire the file list |
| 150, 226, 510 |
NOOP | No operation |
| 200 |
QUIT | To terminate (disconnection) |
| 221 |
Response message
150 File status OK; About to open data connection.
200 Command OK.
220 FTP server ready.
221 Goodbye.
226 Closing data connection.
227 Entering Passive Mode < IP address and port No. >
230 User logged in.
257 "/" is current directory.
331 User name OK. Need password.
500 Command not understood.
502 Command not implemented.
503 Login with USER first.
510 port open fails.
530 Not logged in.
530 Already logged in.
550 < File name > : No such file.
552 Requested file action aborted.
Note: Even when the file type is changed to ASCII at the TYPE command, the file is transmitted in the Binary mode.
- 45 -