Files
cheatsheet-tldr/tldr/windows/ftp

42 lines
768 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# ftp
> Interactively transfer files between a local and remote FTP server.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/ftp>.
- Connect to a remote FTP server interactively:
`ftp {{host}}`
- Log in as an anonymous user:
`ftp -A {{host}}`
- Disable automatic login upon initial connection:
`ftp -n {{host}}`
- Run a file containing a list of FTP commands:
`ftp -s:{{path o ile}} {{host}}`
- Download multiple files (glob expression):
`mget {{*.png}}`
- Upload multiple files (glob expression):
`mput {{*.zip}}`
- Delete multiple files on the remote server:
`mdelete {{*.txt}}`
- Display help:
`ftp --help`