added note about WRITEFUNCTION now being called with zero bytes if the file

to be transfered is empty
This commit is contained in:
Daniel Stenberg 2004-08-23 14:41:54 +00:00
parent b233c13dca
commit dbacc81af7
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ of bytes actually taken care of. If that amount differs from the amount passed
to your function, it'll signal an error to the library and it will abort the
transfer and return \fICURLE_WRITE_ERROR\fP.
This function may be called with zero bytes data if the transfered file is
empty.
Set the \fIstream\fP argument with the \fICURLOPT_WRITEDATA\fP option.
\fBNOTE:\fP you will be passed as much data as possible in all invokes, but