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 .
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 .