Dart Ftp Control
Type Property
Description
Specifies the data type to use for a file transfer. The default is ftpAscii.
Property type
Read-write property
Syntax
Visual Basic
Public Property Type As TypeConstants
Remarks

This property can be set at design time.

The default value indicates that a CR/LF pair should be put at the end of every line in the file before sending it. Since the Windows operating system already uses a CR/LF pair as the native line separator, there is no need to modify the stream as it is received or sent. Another operating system that uses a single CR as the native line separator, however, must expand the size of most files it sends, and shrink the size of most files it receives (to change the line separator to/from a CR/LF pair).

When set to ftpImage, the line separator remains unmodified, making this property setting necessary for sending and receiving binary files (that may contain line separators).

The ftpType command is only sent if the server needs it before a transfer starts.

See Also

Ftp Object  | Ftp Members


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