Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ascii - Set transfer type to ASCII

&pagelevel(4)&pagelevel

The ascii command sets the transfer type to ASCII. This type of transfer should always be chosen when transferring text files. On starting FTP, ASCII is set as the default value for the transfer type.

The transfer type can also be changed by using the binary, tenex and type commands. The currently set transfer type can be determined with the status and type commands. The transfer type is described in more detail on "FTP client in BS2000".

ascii


Example

  1. The current transfer type is queried.

    type
    Using binary mode to transfer files.
    
  2. The transfer type is changed from BINARY to ASCII.

    ascii
    200 Type set to A.
    
  3. The current status is displayed

    status
    Connected to anlaged, port 21.
    No proxy connection.
    Passive Mode: off
    Mode: stream; Type: ascii; Form: non-print; Structure: file
    Copymode: off; Ftyp: textbin
    Verbose: on; Bell: off; Prompting: on; Globbing: on
    Filesystem is: BS2000
    The character to change the filesystem is: %
    ISO-codetable is ISO88591, EBCDIC-codetable is EDF041
    Time limit for server responses: 30 secs
    Time limit for file size determination: 60 secs 
    Store unique: off; Receive unique: off
    Use EOF marker: special EOF marker (C-DATEIENDE): 
    Pad empty record with blank: off
    Case sensitivity: OFF 
    Used job variable: *NONE
    Used SDF-P variable: *NONE
    Used receive selector: *NONE
    Used send selector: *NONE
    Hash mark printing: off; Use of PORT cmds: on
    Protected control channel: off
    Private data channel: off 
    Cipher: clear