DATA_TYPE - UFTP configuration option

Description

The DATA_TYPE option modifies the behavior of the GET, MGET, PUT, and MPUT commands by explicitly setting the data representation type used for data transfer.

Example:

$ uftp -host ftp://sb-l23-x64 -user test -pwd test -cmd MGET -src [r-t]mit.(script|transaction) -regex -move -data_type TEXT

Usage

Specification Method

Parameter / Value

IBM i

HP NonStop

UNIX

Windows

z/OS

Command Line, Short Form

n/a






Command Line, Long Form

-data_type type



(tick)

(tick)

(tick)

Environment Variable

UFTPDATATYPE=type



(tick)

(tick)

(tick)

Configuration File Keyword

n/a






Value

type is the data representation type used for a transfer.

Valid values:


  • TEXT (for ASCII text files)
  • BINARY (binary files)


Default is BINARY for FTP(S).
 
(For SFTP, DATA_TYPE is irrelevant.)