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
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 .
The text was updated successfully, but these errors were encountered: