text
stringlengths
0
4.23k
Syntax
type [<typename>]
Parameters
Parameter
Description
[<typename>]
Specifies the file transfer type. If you don't specify this parameter, the current type is displayed.
[<typename>]
Examples
To set the file transfer type to ASCII, type:
type ascii
To set the transfer file type to binary, type:
type binary
ftp user
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Specifies a user to the remote computer.
Syntax
user <username> [<password>] [<account>]
Parameters
Parameter
Description
<username>
Specifies a user name with which to log on to the remote computer.
[<password>]
Specifies the password for username. If a password is not specified but is required, the ftp command prompts for the password.
[<account>]
Specifies an account with which to log on to the remote computer. If an account isn't specified but is required, the ftp command prompts for the account.
<username>
[<password>]
[<account>]
Examples
To specify User1 with the password Password1, type:
user User1 Password1
404 - Page not found
We couldn't find this page. You can try signing in, or choosing from the relevant search results below:
We couldn't find this page. You can try changing directories, or choosing from the relevant search results below:
ftp
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Transfers files to and from a computer running a File Transfer Protocol (ftp) server service. This command can be used interactively or in batch mode by processing ASCII text files.
Syntax
ftp [-v] [-d] [-i] [-n] [-g] [-s:<filename>] [-a] [-A] [-x:<sendbuffer>] [-r:<recvbuffer>] [-b:<asyncbuffers>][-w:<windowssize>][<host>] [-?]
Parameters
Parameter
Description
-v
Suppresses display of remote server responses.
-d
Enables debugging, displaying all commands passed between the FTP client and FTP server.
-i
Disables interactive prompting during multiple file transfers.
-n
Suppresses auto-login upon initial connection.
-g
Disables file name globbing. Glob permits the use of the asterisk (*) and question mark (?) as wildcard characters in local file and path names.
-s:<filename>
Specifies a text file that contains ftp commands. These commands run automatically after ftp starts. This parameter allows no spaces. Use this parameter instead of redirection (<). Note: In Windows 8 and Windows Server 2012 or later operating systems, the text file must be written in UTF-8.
-a