Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Francois Piette
 I have question about using Binary Mode.
 If I set FTPClient.Binary = True, my data is transmited in Ascii mode
 anyway.

Because the server doesn't know you have changed the way data has to be 
transfered and FTP protocol
default to ascii.
You _must_ call method TypeSet to send the information to the server, before 
doing a transfert.

 How I can set Bianry mode right? As I understand, I shoud to use
 methods: TypeSet, TypeBinary or TypeAscii.
 Where to call them?

After authentication and before a transfert.

--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be




-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [FTP Client] Binary Mode

2005-05-20 Thread Artem Antonov
On Fri, 20 May 2005 17:12:45 +0400
 Artem Antonov [EMAIL PROTECTED] wrote:
Hello,
I have question about using Binary Mode.
If I set FTPClient.Binary = True, my data is transmited in Ascii 
mode anyway.
Thanks, I've already managed with this problem.
Best regards,
Artem Antonov.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be