Setting or Changing Transfer Types [ HP ARPA File Transfer Protocol User's Guide ] MPE/iX 5.0 Documentation
HP ARPA File Transfer Protocol User's Guide
Setting or Changing Transfer Types
FTP supports two transfer types, ASCII and binary. When you first enter
FTP, the transfer type defaults to ASCII. For example, text files are
type ASCII and are transferred as ASCII files.
To
find out what the transfer type is for your current session, enter the
TYPE command without parameters. For example, if ASCII is the current
transfer type, the following displays:
ftp> TYPE
Using ASCII mode to transfer files (FTPINFO 25).
Binary
To change the file transfer type to binary, enter the command BINARY at
the ftp> prompt as follows:
ftp> BINARY
200 Type set to I.
You can also use the TYPE [transfertype] command to change the file
transfer type. To set the transfer type to binary, you can enter:
ftp> TYPE BINARY
200 Type set to I.
ASCII
Tochange the file transfer type to ASCII, enter the command ASCII at the
ftp> prompt:
ftp> ASCII
200 Type set to A.
You can also use the TYPE [ transfertype ] command to change the file
transfer type. To set the transfer type to ASCII, you can enter:
ftp> TYPE ASCII
200 Type set to A.
MPE/iX 5.0 Documentation