HP 3000 Manuals

Setting or Changing Transfer Types [ HP ARPA File Transfer Protocol User's Guide ] MPE/iX 5.0 Express III Documentation


HP ARPA File Transfer Protocol User's Guide

Setting or Changing Transfer Types 

FTP supports three transfer types, ASCII, binary, and BYTESTREAM as of
4.5.  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 file (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 l.

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 l.

ASCII 

To change 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.

BYTESTREAM 

To change the file transfer type to BYTESTREAM, enter the command
BYTESTREAM or BYTE at the ftp> prompt: 

     ftp> BYTESTREAM
     200 Type set to L (byte size 8).

You can also use the TYPE [transfertype] command to change the file
transfer type.  To set the transfer type to BYTESTREAM, you can enter:

     ftp> TYPE BYTESTREAM
     200 Type set to L (byte size 8).



MPE/iX 5.0 Express III Documentation