Difference between revisions of "TFtpClient.Binary"

From Overbyte
Jump to navigation Jump to search
 
Line 1: Line 1:
 
'''Declaration'''<br>
 
'''Declaration'''<br>
 
property Binary : Boolean;<br><br>
 
property Binary : Boolean;<br><br>
 +
 +
'''Default Value'''<br>
 +
True<br><br>
  
 
'''Description'''<br>
 
'''Description'''<br>

Revision as of 22:35, 10 September 2006

Declaration
property Binary : Boolean;

Default Value
True

Description
Property used to set whether files are transferred in either binary or ASCII mode.

Binary has no effect until TypeSet or TypeSetAsync have been successfully called.

Example

   FtpClient1.Binary := True;
   if (FtpClient1.TypeSet) then
     Application.MessageBox('Transfer mode set to Binary', 'FTP', MB_OK);