Dart Ftp Control
TypeConstants Enumeration
Description

Enumerates the data types used for file transfers. See RFC 959 for more details.

When the ftpType command is sent as part of the Retrieve, StoreList or NameList method, that transfer mode is used by all subsequent data transfers until changed. The ftpType command is only sent when necessary.

Members
MemberValueDescription
ftpAscii0Data type ASCII. This data type is used to transfer text files between systems (ASCII characters 13 (CR) and 10 (LF) are used as line separators). The sending host must convert the text file from its native format to ASCII and the receiving host must convert it from ASCII to its native format. The ASCII format serves as a neutral format for the data transfer. This is the default value.
ftpEbcdic2Data type EBCDIC. The EBCDIC data type transfers EBCDIC text files between systems supporting the EBCDIC character set. If both systems use EBCDIC as the native character set, this data type loses no information during the transfer.
ftpImage1Data type IMAGE or BINARY. The IMAGE data type is used to transfer binary files between systems. This type identifies the data as a sequence of contiguous bits packed into 8-bit bytes. The data should be stored as a sequence of bits by each system involved in the transfer.
ftpZip3Data type Zip file format, IMAGE or BINARY. The Zip file format will check to see if the data is a valid zip file during a Get or Retrieve operation and decompress the file into the local directory.  If the operation is a Put or a Store operation, the file specified will be compressed and stored on the FTP server as a valid Zip file.  The Zip data type is not part of the RFC 959 specification and is an extension only used by the FTP control.  During a List or NameList operation, the data type is treated as ftpImage.

PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic