Share via


Ftp: type

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Ftp: type

Sets or displays the file transfer type.

Syntax

type [TypeName]

Parameters
  • TypeName
    Specifies the file transfer type.
  • ? type
    Displays help for the type command.
Remarks
  • 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.

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Ftp
Ftp: ascii
Ftp: binary
Ftp subcommands
Command-line reference A-Z
Command shell overview