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

the upload command not show the upload rate like 5MB/s #712

Open
honghh2018 opened this issue Jan 21, 2025 · 0 comments
Open

the upload command not show the upload rate like 5MB/s #712

honghh2018 opened this issue Jan 21, 2025 · 0 comments

Comments

@honghh2018
Copy link

$bypy -v upload realpath aa.txt /dd1.txt
Loading Hash Cache File '/share/home/hhhong/.bypy/bypy.hashcache.json'...
Hash Cache File loaded.
[11:06:14] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file'
[11:06:14] Function: _rapidupload_file_act
[11:06:14] Website parameters: {'method': 'rapidupload', 'path': '/apps/bypy/dd1.txt', 'content-length': 10737418240, 'content-md5': '46baaeb5ak79a1a2d5bdcb341608d3a7', 'slice-md5': 'ec87a838931d4d5d2e94a04644788a55', 'content-crc32': '0xf41d912f', 'ondup': 'overwrite'}
[11:06:14] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?method=rapidupload&path=%2Fapps%2Fbypy%2Fdd1.txt&content-length=10737418240&content-md5=46baaeb5ak79a1a2d5bdcb341608d3a7&slice-md5=ec87a838931d4d5d2e94a04644788a55&content-crc32=0xf41d912f&ondup=overwrite&access_token=121.8dc62f8afeca13d1ad1eb5b058bfa13b.Y38ph8fnkyYZdfnokwsc7bNhqci5G5EUUAy_CtD.gYrc8Q
[11:06:14] HTTP Response Status Code: 400
[11:06:14] Error JSON returned:{'error_code': 31023, 'error_msg': 'param error', 'request_id': 474586971367612404}
Error code: 31023
Error Description: param error
[11:06:14] Website returned: {"error_code":31023,"error_msg":"param error","request_id":474586971367612404}
'/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.
[] 0% (20.0MB/10.0GB) '/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.
[
] 0% (40.0MB/10.0GB) '/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.
[] 0% (60.0MB/10.0GB) '/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.
[
] 0% (80.0MB/10.0GB) '/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.
[____________________] 0% (100.0MB/10.0GB) '/share/home/hhhong/downloads/aa.txt' >>==> '/apps/bypy/dd1.txt' OK.

[____________________] 1% (120.0MB/10.0GB)

How to show the speed rate when upload data into baiduyun?
Best,
hanhuihong

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

No branches or pull requests

1 participant