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

"--continue-at -" on new file no longer works #6715

jordanbrown0 opened this issue Mar 10, 2021 · 3 comments

"--continue-at -" on new file no longer works #6715

jordanbrown0 opened this issue Mar 10, 2021 · 3 comments


Copy link

I did this

curl --upload-file myfile --continue-at - --user xxx:yyy ftp://host/nonexist

I expected the following

Upload new file.

curl/libcurl version

curl 7.74.0-DEV (x86_64-pc-solaris2.11) libcurl/7.74.0-DEV OpenSSL/1.0.2x zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0 nghttp2/1.41.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets

operating system

Solaris 11.4 unreleased build
SunOS myhostname 5.11 11.4. i86pc i386 i86pc

The SIZE command is failing on a nonexistent target file, and that is causing the "continue-at" processing to fail.

This behavior is not clearly wrong, but it's a change.

Probably changed by PR #5957 .

Copy link

Full disclosure: I work for Oracle on Solaris; this broke one of our tests.

Copy link

Either the template didn't ask for it, or somehow I missed it, but what actually happened was:

cuttlefish# curl --upload-file /tmp/aaa --continue-at - --user xxx:yyy ftp://localhost/export/backup/aaa
** Resuming transfer from byte position -1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (78) The file does not exist

@bagder bagder self-assigned this Mar 11, 2021
bagder added a commit that referenced this issue Mar 11, 2021
Added test 362 to verify.

Reported-by: Jordan Brown
Fixes #6715
Regression since 7ea2e1d (7.73.0)
@bagder bagder closed this as completed in 7b2f067 Mar 11, 2021
Copy link


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging a pull request may close this issue.

3 participants