Async is much better in ICS. SZ
On Tue, Oct 13, 2009 at 6:29 PM, Signed Source® Project < dan...@signedsource.com> wrote: > Ok, > Is it better to use ASYNC mode or should I just use the normal mode? > I need to make sure download or upload is certain. > > -dan > > ----- Original Message ----- From: "Fastream Technologies" < > ga...@fastream.com> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Tuesday, October 13, 2009 6:04 PM > > Subject: Re: [twsocket] ICS FTP "Component not ready > > > http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm >> >> This should be helpful... >> SubZero >> On Tue, Oct 13, 2009 at 6:01 PM, Signed Source® Project < >> dan...@signedsource.com> wrote: >> >> Ok, >>> What are the sync methods? >>> How and where I should use the events or message pump? >>> >>> Thanks again. >>> - dan >>> >>> ----- Original Message ----- From: "Fastream Technologies" < >>> ga...@fastream.com> >>> To: "ICS support mailing" <twsocket@elists.org> >>> Sent: Tuesday, October 13, 2009 5:54 PM >>> Subject: Re: [twsocket] ICS FTP "Component not ready >>> >>> >>> >>> Hello, >>> >>>> >>>> You should either use the sync methods or use events and message pump. >>>> Because FtpClient.OpenAsync; does return immediately as it expects to >>>> launch >>>> event when done. >>>> >>>> HTH >>>> >>>> SZ >>>> >>>> >>>> On Tue, Oct 13, 2009 at 5:52 PM, Signed Source® Project < >>>> dan...@signedsource.com> wrote: >>>> >>>> Hello, >>>> >>>>> I am trying to pick a file from my server by using ICS FTP component >>>>> with >>>>> no success. >>>>> >>>>> This is all I need to do, nothing more... >>>>> >>>>> FtpClient.HostName := 194.100.68.141; >>>>> FtpClient.Port := ftp; >>>>> FtpClient.UserName := christian; >>>>> FtpClient.Password := dummy_client; >>>>> FtpClient.HostDirName := '/'; >>>>> FtpClient.OpenAsync; >>>>> >>>>> FtpClient.HostFileName := ' Port_INFO.exe'; >>>>> FtpClient.LocalFileName := 'C:\ Downloaded'; >>>>> FtpClient.GetAsync; >>>>> >>>>> It keeps saying "FTP NOT READY" >>>>> I don't need anything else. Just connect to the server to the selected >>>>> directory and download or upload. >>>>> What is this "FTP NOT READY" anyway? >>>>> >>>>> Can someone please give me some help? >>>>> >>>>> -dan >>>>> -- >>>>> 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 >>>> >>>> >>> -- >>> 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 >> > > -- 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