Difference between revisions of "TFtpClient.Binary"

From Overbyte
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Declaration'''<br>
+
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> [[TFtpClient]] -> [[TFtpClient.Binary | Binary]]
property Binary : Boolean;<br><br>
 
  
'''Default Value'''<br>
+
== Definition ==
True<br><br>
 
  
'''Description'''<br>
+
'''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.
 
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.
  
 
''TypeSetBinary'', ''TypeSetBinaryAsync'', ''TypeSetAscii'', and ''TypeAsciiAsync'' can perform these steps in one call.
 
''TypeSetBinary'', ''TypeSetBinaryAsync'', ''TypeSetAscii'', and ''TypeAsciiAsync'' can perform these steps in one call.
  
<br><br>
+
== Example ==
 +
 
 +
FtpClient1.Binary := True;
 +
if (FtpClient1.TypeSet) then
 +
  Application.MessageBox('Transfer mode set to Binary', 'FTP', MB_OK);
  
'''Example'''<br>
+
== Best Practices ==
  
    FtpClient1.Binary := True;
+
== How To ==
    if (FtpClient1.TypeSet) then
 
      Application.MessageBox('Transfer mode set to Binary', 'FTP', MB_OK);
 

Latest revision as of 22:30, 10 September 2006

Main page -> ICS component reference -> TFtpClient -> Binary

Definition

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.

TypeSetBinary, TypeSetBinaryAsync, TypeSetAscii, and TypeAsciiAsync can perform these steps in one call.

Example

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

Best Practices

How To