|
 |
 |
 |
Dùng lệnh FTP kết nối server
Nếu bạn muốn kết nối đến server trực tiếp bằng các lệnh FTP mà không dùng phần mềm. Bạn phải thông qua giao diện FTP client và phải nắm rõ các lệnh FTP sau:
| ABOR |
abort a file transfer |
|
| CWD |
change working directory |
| DELE |
delete a remote file |
| LIST |
list remote files |
| MDTM |
return the modification time of a file |
| MKD |
make a remote directory |
| NLST |
name list of remote directory |
| PASS |
send password |
| PASV |
enter passive mode |
| PORT |
open a data port |
| PWD |
print working directory |
| QUIT |
terminate the connection |
| RETR |
retrieve a remote file |
| RMD |
remove a remote directory |
| RNFR |
rename from |
| RNTO |
rename to |
| SITE |
site-specific commands |
| SIZE |
return the size of a file |
| STOR |
store a file on the remote host |
| TYPE |
set transfer type |
| USER |
send username |
|
|