HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ftp — Interactively transfer files between a local and remote FTP server. More information: <https://learn

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlocalinteractivelyfilesbetweenclitransferftp
windows

Problem

How to use the ftp command: Interactively transfer files between a local and remote FTP server. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/ftp>.

Solution

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


[Interactive] Download multiple files (glob expression):
mget {{*.png}}


[Interactive] Upload multiple files (glob expression):
mput {{*.zip}}


[Interactive] Delete multiple files on the remote server:
mdelete {{*.txt}}


Display help:
ftp --help

Code Snippets

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

[Interactive] Download multiple files (glob expression)

mget {{*.png}}

Context

tldr-pages: windows/ftp

Revisions (0)

No revisions yet.