-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe37d4f
commit 660b0fe
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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}}` |