SimpleFTPServer
SimpleFTPServer copied to clipboard
Some questions to improve usage
Hello! Thank you very much for the useful class, in most cases it works great. I wanted to ask if there is no possibility to add two functions to the class:
-
Is it possible to determine the size of the file uploaded to the server to show the percentage of completion? If I download a file from the server, then there is no problem and I get the size at FTP_DOWNLOAD_START. But with FTP_UPLOAD_START this size is always 0.
-
If I upload a file to the server, but during the execution the download is interrupted (the client canceled or the connection was broken), then a part of the file remains on the SD card, which is not complete and can be deleted. Is it possible to somehow track this event so that such an incomplete file can be deleted?
Regards, Oleg.
Hi Oleg, for the first enhancement, I don't know, but I'm going to check. The second It's an interesting features, and probably I'm going to add It. Thanks Renzo