That seems to be the case. I now just call the TypeBinaryAsync in the
ftpConnectAsync event. 
Thanks again for your help.

Graham

-----Original Message-----
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 17 July 2012 17:41
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client - Next question

> I have found that if I call TypeBinaryAsync first and then in the 
> Request event (ftpTypeSetAsync) I now call GetAsync

You only need to set type once, and if you are using Async events then
OnRequestDone is where you check your state mechanism for the next command.
Personally, I mostly use the sync methods, much easier. 

Angus

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


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

Reply via email to