Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions to improve usage #37

Open
Discorez opened this issue Jan 21, 2023 · 1 comment
Open

Some questions to improve usage #37

Discorez opened this issue Jan 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Discorez
Copy link

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:

  1. 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.

  2. 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.

@xreef xreef added the enhancement New feature or request label Jan 23, 2023
@xreef
Copy link
Owner

xreef commented Jan 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants