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 bar not working for SFTP resumed upload #7760
Labels
Comments
It does not repeat for me:
|
Hi Daniel,
I suspect it has something to do with the actual settings being applied.
I can reproduce the issue every time per the example command structure/settings advised in my ticket.
Please try with the same settings I advised.
More proof of the issue below.
***@***.***
Best regards
Brett Eslick
[https://www.sihot.com/wp-content/uploads/signatur/sihot-flosse.png]
Brett Eslick
Director of IT
p. +61 7 5634 9527<callto:+61%207%205634%209527>
m. +61 403400000<callto:+61%20403400000>
e. ***@***.******@***.***>
SIHOT Asia/Pacific Pty Ltd.
Level 4 | Suite 39 | 46 Cavill Avenue
Surfers Paradise, QLD 4217
AUSTRALIA
From: Daniel Stenberg ***@***.***>
Sent: Thursday, 23 September 2021 4:13 PM
To: curl/curl ***@***.***>
Cc: Brett Eslick ***@***.***>; Author ***@***.***>
Subject: Re: [curl/curl] Progress bar not working (#7760)
It does not repeat for me:
$ ./src/curl -u u:p sftp://localhost//var/www/html/8GB -o store -# -C -
## 3.1%^C
$ ./src/curl -u u:p sftp://localhost//var/www/html/8GB -o store -# -C -
#### 6.2%^C
$ ./src/curl -u u:p sftp://localhost//var/www/html/8GB -o store -# -C -
####### 10.6%^C
$ ./src/curl -u u:p sftp://localhost//var/www/html/8GB -o store -# -C -
########### 16.0%^C
$ ./src/curl -u u:p sftp://localhost//var/www/html/8GB -o store -# -C -
################ 21.6%^C
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7760 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVYBG5OAOVW667M674UEHELUDLAQFANCNFSM5ESRNP7Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I've confirmed the issue is when there is a combination of "-C -" (resume file) and "-#" (progress bar). If you DO NOT use the "resume" option (-C -) then the progress bar works as expected. This was never an issue in version 7.39.0 or prior. Have only noticed this issue since recently upgrading to v7.79.0 and v7.79.1 |
bagder
added a commit
that referenced
this issue
Sep 27, 2021
This is a regression that was *probably* injected in the larger progress bar overhaul in 2018. Reported-by: beslick5 on github Fixes #7760
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using -# option to display progress bar for file uploads the progress bar instantly shows 100% (no matter how much of the file is processed)
In prior versions the progress bar correctly and accurately shows percentage of file uploaded.
Issue found in curl 7.79.0 and curl 7.79.1
Example command to reproduce the issue...
curl -k -C - -# -u "MYUSER":"MYPASS" --ftp-ssl --retry 100 --retry-delay 60 -T c:\temp\BIGFILE.7z sftp://ftp.server.com.au/backups/
The text was updated successfully, but these errors were encountered: