From 660b0fe51ba4891dcd961f82f39a9443f29eec8b Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Tue, 13 Dec 2016 17:35:47 +0100 Subject: [PATCH] ftp: add page (#1173) --- pages/common/ftp.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pages/common/ftp.md diff --git a/pages/common/ftp.md b/pages/common/ftp.md new file mode 100644 index 00000000000000..b1594000999993 --- /dev/null +++ b/pages/common/ftp.md @@ -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}}`