mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
smb: return error on upload without size
The protocol needs to know the size ahead of time, this is now a known restriction and not a bug. Also output a clearer error if the URL path does not contain proper share. Ref: #7896 Closes #10484
This commit is contained in:
parent
5309e32141
commit
efbf02111a
3 changed files with 9 additions and 5 deletions
|
|
@ -360,6 +360,9 @@ share and directory or the share to upload to and as such, may not be omitted.
|
|||
If the user name is embedded in the URL then it must contain the domain name
|
||||
and as such, the backslash must be URL encoded as %2f.
|
||||
|
||||
When uploading to SMB, the size of the file needs to be known ahead of time,
|
||||
meaning that you can upload a file passed to curl over a pipe like stdin.
|
||||
|
||||
curl supports SMB version 1 (only)
|
||||
|
||||
## SMTP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue