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

Progress reporting for file uploads #122

Open
SteelStrider opened this issue Apr 24, 2018 · 1 comment
Open

Progress reporting for file uploads #122

SteelStrider opened this issue Apr 24, 2018 · 1 comment

Comments

@SteelStrider
Copy link

Hi!
At the moment I encountered such a problem:
Time from the time it is necessary to upload files (of different sizes) to a remote node,
For this purpose I used a documented command add() and everything works just fine.
The problem occurs when i try to upload a large file... (for download i use requests.get and can see progress) so question Is there any way to get the upload progress in order to understand that the process continues...?

I'm new to python... And the question is more for discussion)
Any tips and workarounds are welcome!
thanks in advance

@ntninja
Copy link
Contributor

ntninja commented Apr 24, 2018

Unfortunately there is no progress reporting for client.add() currently, but you may be able to stream files by using requests.post directly and a workaround like this (as requests does not support this feature either).

@ntninja ntninja changed the title Upload data to remote. Progress reporting for file uploads Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants