1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/ftp.md
2016-12-13 16:35:47 +00:00

577 B

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}}