Archived Forum Post

Index of archived forum posts

Question:

CkFtp2 MDTM causes error on getFile

Sep 09 '15 at 12:00

When I have more than 1 file to download from a vendor, the first file is downloading correctly, but the 2nd file is timing out (Failed to receive more bytes. Failed to read FTP response line...). The vendor reports that he has a script that deletes the file once it has been successfully downloaded but then he is receiving an MDTM command from us for the now deleted file. This is causing a file not found error on the vendors site and his site then times out after 10 minutes.

Does the getFile method of CkFtp2 issue the MDTM command after the file has been downloaded? Is there a way to turn that off or maybe move that command to before the download is started.