TFtpClient.Binary

From Overbyte
Revision as of 22:20, 10 September 2006 by Kbrad1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration
property Binary : Boolean;

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);