2025-03-14 21:59:59 -06:00
|
|
|
# ftp
|
|
|
|
|
|
|
|
|
|
> Tools to interact with a server via File Transfer Protocol.
|
|
|
|
|
> More information: <https://manned.org/ftp>.
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Connect to an FTP server and run in interactive mode:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`ftp {{ftp.example.com}}`
|
|
|
|
|
|
|
|
|
|
- Connect to an FTP server specifying its IP address and port:
|
|
|
|
|
|
|
|
|
|
`ftp {{ip_address}} {{port}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Switch to binary transfer mode (graphics, compressed files, etc):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`binary`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Transfer multiple files without prompting for confirmation on every file:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`prompt off`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Download multiple files (glob expression):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`mget {{*.png}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Upload multiple files (glob expression):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`mput {{*.zip}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Delete multiple files on the remote server:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`mdelete {{*.txt}}`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- [Interactive] Rename a file on the remote server:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`rename {{original_filename}} {{new_filename}}`
|