mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 14:15:33 +02:00
ftp: add page (#1173)
This commit is contained in:
parent
fe37d4fb83
commit
660b0fe51b
1 changed files with 31 additions and 0 deletions
31
pages/common/ftp.md
Normal file
31
pages/common/ftp.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
# ftp
|
||||
|
||||
> Tools to interact with a server via File Transfer Protocol.
|
||||
|
||||
- Connect to an FTP server:
|
||||
|
||||
`ftp {{ftp.example.com}}`
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue