text
stringlengths
0
4.23k
Specifies that any local interface can be used when binding the ftp data connection.
-A
Logs onto the ftp server as anonymous.
-x:<sendbuffer>
Overrides the default SO_SNDBUF size of 8192.
-r:<recvbuffer>
Overrides the default SO_RCVBUF size of 8192.
-b:<asyncbuffers>
Overrides the default async buffer count of 3.
-w:<windowssize>
Specifies the size of the transfer buffer. The default window size is 4096 bytes.
<host>
Specifies the computer name, IP address, or IPv6 address of the ftp server to which to connect. The host name or address, if specified, must be the last parameter on the line.
-?
Displays help at the command prompt.
<filename>
<
<sendbuffer>
<recvbuffer>
<asyncbuffers>
<windowssize>
<host>
Remarks
The ftp command-line parameters are case-sensitive.
This command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in the properties of a network adapter in Network Connections.
The ftp command can be used interactively. After it is started, ftp creates a sub-environment in which you can use ftp commands. You can return to the command prompt by typing the quit command. When the ftp sub-environment is running, it is indicated by the ftp > command prompt. For more information, see the ftp comman...
ftp >
The ftp command supports the use of IPv6 when the IPv6 protocol is installed.
Examples
To log on to the ftp server named ftp.example.microsoft.com, type:
ftp.example.microsoft.com
ftp ftp.example.microsoft.com
To log on to the ftp server named ftp.example.microsoft.com and run the ftp commands contained in a file named resync.txt, type:
ftp.example.microsoft.com
ftp -s:resync.txt ftp.example.microsoft.com
ftype
Displays or modifies file types that are used in file name extension associations. If used without an assignment operator (=), this command displays the current open command string for the specified file type. If used without parameters, this command displays the file types that have open command strings defined.
Note
This command is only supported within cmd.exe and is not available from PowerShell.
Though you can use cmd /c ftype as a workaround.
cmd /c ftype
Syntax
ftype [<filetype>[=[<opencommandstring>]]]
Parameters
Parameter
Description
<filetype>
Specifies the file type to display or change.
<opencommandstring>
Specifies the open command string to use when opening files of the specified file type.
/?
Displays help at the command prompt.
<filetype>
<opencommandstring>
Remarks
The following table describes how ftype substitutes variables within an open command string:
Variable
Replacement value
%0 or %1
Gets substituted with the file name being launched through the association.
%*
Gets all of the parameters.