2016-12-13 16:35:47 +00:00
|
|
|
# ftp
|
|
|
|
|
|
|
|
> Tools to interact with a server via File Transfer Protocol.
|
2021-08-23 20:33:24 +01:00
|
|
|
> More information: <https://manned.org/ftp>.
|
2016-12-13 16:35:47 +00:00
|
|
|
|
|
|
|
- Connect to an FTP server:
|
|
|
|
|
|
|
|
`ftp {{ftp.example.com}}`
|
|
|
|
|
2021-12-02 03:33:21 +00:00
|
|
|
- Connect to an FTP server specifying its IP address and port:
|
|
|
|
|
|
|
|
`ftp {{ip_address}} {{port}}`
|
|
|
|
|
2016-12-13 16:35:47 +00:00
|
|
|
- Switch to binary transfer mode (graphics, compressed files, etc):
|
|
|
|
|
|
|
|
`binary`
|
|
|
|
|
|
|
|
- Transfer multiple files without prompting for confirmation on every file:
|
|
|
|
|
|
|
|
`prompt off`
|
|
|
|
|
|
|
|
- Download multiple files (glob expression):
|
|
|
|
|
|
|
|
`mget {{*.png}}`
|
|
|
|
|
|
|
|
- Upload multiple files (glob expression):
|
|
|
|
|
|
|
|
`mput {{*.zip}}`
|
|
|
|
|
|
|
|
- Delete multiple files on the remote server:
|
|
|
|
|
|
|
|
`mdelete {{*.txt}}`
|
|
|
|
|
|
|
|
- Rename a file on the remote server:
|
|
|
|
|
|
|
|
`rename {{original_filename}} {{new_filename}}`
|