cURL / Mailing Lists / curl-users / Single Mail

curl-users

Two state in the same Error code :-X

From: Sebastien WILLEMIJNS <sebastien_at_willemijns.com>
Date: Wed, 03 Oct 2007 09:19:29 +0200

hi,

in the doc, we can read...

28 Operation timeout. The specified time-out period was reached
according to the conditions.

i choose for a FTP server (ftp.first.com) in commandline no specific
option, the server gives timeout (10060 winsock code):
curl: (28) Timeout was reached

i choose in commandline "-m 1" for another FTP server (ftp.second.com) ,
CURL stops properly at 1s of download:
curl: (28) Operation timed out after 1000 milliseconds with 13927 out of
39888 bytes received

it is a timed-out OK in both case but in first case from server (i
haven't file needed / it is an server error code)
and in thze second case the "error" cames from me (i have filesize
needed ;) why using same error code ?
Received on 2007-10-03