PDA

View Full Version : WinInet Error Code #6



NewsArchive
10-09-2007, 02:01 AM
I get this when attempting upload.. (FTP has worked in the past.)

This a bit cryptic, esp. since WinInet errors start at 12000!
Translation?

Steve

NewsArchive
10-09-2007, 02:01 AM
Steve,

Nothing changed in the FTP feature for more than one year now so it's
something at your end.

Error 6 in this case is Windows Error Code 6 (ERROR_INVALID_HANDLE). I
assume your FTP Location specification is incorrect. What do you have in
your FTP field?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-09-2007, 02:02 AM
Yep, someone has changed the login on me...

But my other point is that the legend should not read "WinInet Error Code" -
because '6' is not one of those.
It's not even a standard FTP error no. (550 in this case).
It would be a good idea to use one of the standard ftp-related codes, rather
than the generic Windows error, imo... since it allows more detailed
analysis of error.

hth
Steve

NewsArchive
10-09-2007, 02:02 AM
Steve,

WinInet returns 0 in this case and the only available error code is via
GetLastError(), which returned 6 on your machine. There is no other error
code provided, so there is no way to give you more information!

We'll change "WinInet Error Code" to "Error Code".

Friedrich