Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Ftp: type

Published: May 3, 2010

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Sets or displays the file transfer type. For examples of how this command can be used, see Examples.

type [<TypeName>]

 

Parameter Description

[<TypeName>]

Specifies the file transfer type.

  • If TypeName is not specified, the current type is displayed.

  • Ftp supports two file transfer types, ASCII and binary.

    The default file transfer type is ASCII. The ascii command should be used when transferring text files. In ASCII mode, character conversions to and from the network standard character set are performed. For example, end-of-line characters are converted as required, based on the operating system at the destination.

    The binary command should be used when transferring executable files. In binary mode, the file is moved in one-byte units.

Set the file transfer type to ASCII.

type ascii

Set the transfer file type to binary.

type binary

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.