Greetings François,
Im currently developing a service that requires downloading a file from a FTP. Ive used your POP3 and SMTP components and they worked very well, so Im trying your FTPClient component to do the download. My service is multithreaded, as I receive different TCP/IP connections. And, as it is a service, I have no forms, so I compiled the component (and its related units) with the NOFORMS directive (in fact, Ive copied the files and deleted the lines accordingly). When I terminate the thread that creates the FTPClient, I do FTPClient.Terminated:=true; to stop the current transfer, in case it is still active. Can I check any property to know if the FTPClient is currently connected? Should I call FTPClient.QuitAsync before closing anything? Also, Im having trouble with slow transmissions. When a download lasts more than 20 minutes the component seems to freeze, and the component remains in ftpWaitingResponse. It seems that it doesnt receive the confirmation (FServerSaidDone still remains at false). I suspect that, as the control socket is idle all this time, some device closes it and I cant receive the server confirmation, I only get the DataSocketGetSessionClosed event. Im behind an ISA Server, I suppose that it closes the control socket, as it isnt sending anything. How can I avoid that? Is there anything else I should take in consideration? Thanks! ____________________________________________________________________________ ___ Arnau Font Riera IPS, S.L. Tel. 93 295 45 45 Dpt. I+D Av. Francesc Cambó 14, 10è Fax 93 295 45 47 [EMAIL PROTECTED] 08003 Barcelona www.ipssoft.com <http://www.ipssoft.com/> ____________________________________________________________________________ ___ -- 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
