mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* Make placeholders more compatible with CLIP ones * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/windows/doskey.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
36 lines
685 B
Markdown
36 lines
685 B
Markdown
# 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\to\file}} {{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 detailed help:
|
|
|
|
`ftp --help`
|