PDA

View Full Version : DownloadFile - What does error code mean



NewsArchive
02-24-2011, 01:49 AM
When I use " Download File (HTTP) sometimes it returns error 505000000

Can someone tell me what it means?

Where do I find the list of errorcodes?

Michael Brooks

NewsArchive
02-24-2011, 01:49 AM
Michael,

> When I use " Download File (HTTP) sometimes it returns error 505000000
>
> Can someone tell me what it means?
>
> Where do I find the list of errorcodes?

"5050" is a timeout error and "00000" means that the WinSock API
WSAGetLastError() returned 0. In other words, the download server did not
respond.

Friedrich

NewsArchive
02-24-2011, 01:49 AM
Thank you.

Where are all these codes located in the docs ?

Mike

NewsArchive
02-24-2011, 01:50 AM
> Thank you.
>
> Where are all these codes located in the docs ?

Here is a HTTP component error list:
http://www.lindersoft.com/forums/showthread.php?p=44838&highlight=5060#post44838

Unfortunately, it's not possible to have a complete error code list because
different GetLastError or WSAGetLastError return codes can have completely
different meanings.

So the above is only a good starting point. But it only provides useful
information in combination with the GetLastError or WSAGetLastError return
codes (documented here)

http://msdn.microsoft.com/en-us/library/ms679360(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms741580(v=vs.85).aspx

So in fact, if there is an error code that can't be found in our knowledge
base (the online forums) then it's better to ask because we can then check
what kind of error this is.

Friedrich

NewsArchive
02-24-2011, 01:50 AM
Thanks a million.

Michael Brooks