UploadFile always return ftpErrorSuccess?

Hello, Mat!

When I initiate upload operation that very long by time (for example very big file) and try abort it (with Abort() method) then UploadFile return ftpErrorSuccess (not ftpErrorAborted).
Note: DownloadFile method work fine, always return ftpErrorAborted after Abort() method initiation.

Bug or feature?

Regards,
Nikolai Egipko

Hello ...

Previously the Abort() function closed the data connection when uploading. Then the client waited for the server reply before the UploadFile() function returned. Now Abort() shutdowns or closes the data connection but the UploadFile() function immediately returns without waiting for a server reply.

As a result the UploadFile() function will now always return ftpErrorAbort when Abort() is called.

Newest build at
https://www.smartftp.com/ftplib/download

Regards,
-Mat


As a result the UploadFile() function will now always return ftpErrorAbort when Abort() is called.
Thank you very much, Mat!
Now it works!
Your support is great


Regards,
Nikolai