Specifying File Transfer Characteristics

AFTP supports a variety of file transfer attributes. Both text and binary files can be transferred. The programmer can set the data structure of the files for mainframe applications. This allows several variations of record-based files to be transferred.

Use these API calls to specify file transfer characteristics.

aftp_set_allocation_size
Sets the amount of space allocated for the file that is being written.
aftp_set_block_size
Sets the size of a data block for the file that is being written.
aftp_set_data_type
Sets the way in which the transmitted data is interpreted.
aftp_set_date_mode
Sets how the date will be represented when the file is written (either received or sent). The new file can use the current date/time stamp or the date/time stamp of the original file.
aftp_set_record_format
Sets the record format of the transmitted file.
aftp_set_record_length
Sets the length of the transmitted file record.
aftp_set_write_mode
Sets the type of write operation that will occur when the transmitted file is written (either received or sent).