On Mon, 18 Jul 2011, shili wrote:
recently i used the curl to download the audio file on our server,and sometimes the curl quit by the reason of "Transferred a partial file", but when i used the command to download the file, i could download all of the file, i want to know the reason,what makes the curl return the error "Transferred a partial file"?
It reports that error when it sees that the amount of data it actually transferred was not the same amount as the server has announced it would send.
and is there any different between the curl command and the library?
No. The curl command does the entire transfer using the library. -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html