I have the following small routine to send files via FTP :- bool sendit(AnsiString tosend) { TFtpClient *mjftp; // Some code here to fill up the mjftp object // with tosend, credentials, destination etc., followed by ... return mjftp->Transmit(); }
This nearly always succeeds, and the first call nearly always returns true. However, it returns randomly true or false when one file is sent immediately after another, even though all transfers are successful and arrive at the destination intact. Why? mark jacobs it support and development critical research T 020 8421 6600 W www.critical.co.uk This e-mail and any files transmitted with it are confidential and intended for the sole use of the addressee. Any unauthorised dissemination or copying of this e-mail or its attachments or disclosure of any information contained in them is strictly prohibited. If you have received the e-mail in error, please notify the sender by e-mail immediately and delete it from your system. The content of the e-mail does not necessarily represent the views of Critical Research Ltd and associated companies. We accept no responsibility for any loss or damage caused by any virus transmitted by this e-mail. Critical Research Ltd is a company registered in England with company number 6566825, registered address of 41-43 Alma St Luton LU1 2PL, VAT Number 939496266. -- 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