Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WWIpstuff
Message
From
29/10/1998 18:20:31
 
 
To
26/10/1998 22:36:55
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00150707
Message ID:
00152552
Views:
23
>>>>I've been trying out Rick's wwipstuff class with FTP file transfers, and while I can download a file just fine, I get an error 12003 trying to upload. Probably something really simple, but I don't know what Win API error 12003 is.
>>>>Can you help? Better still is there a list of these codes somewhere ?
>>>>TIA
>>>
>>>OK, it's me talking to me again.
>>>
>>>Win API errors are listed in the MSDN library (of course) and error 12003 is an Internet Extended error which means there's a message available following an unsuccessful functino call. The docs then go on to say to use "InternetGetLastResponseInfo". Sheeese!
>>>So my problem now is - how do use this?
>>>BOOL InternetGetLastResponseInfo(OUT LPDWORD lpdeError, OUT LPSTR lpszbuffer, IN OUT LPDWORD lpdwBufferLength)
>>]
>>
>>No need to do this directly, wwIPSTuff does it for you;
>>
>>wwIPStuff::GetLastInternetError()
>
>I'm sorry, this is the wrong method... you want GetSystemErrormsg()

Sorry, no-go Erik, the message returned by GetSystemErrormsg()
is "The server returned extended information", that's what error 12003 is.

I need the extended information, hence my question about InternetGetLastResponseInfo()

I'm not very experienced on these API calls so I need some help with the parameters for this one.

I'll fill in some extra info. My testing is between my laptop, Win98 and an NT server, not connected to the WWW, running MIIS. The web server is simply called "server"
So my non-default properties for the wwipstuff object are
cftpServer server
cftpsource c:\test.txt
cftptarget /test.txt
cserver 203.28.63.178 && probably not required for ftp
nftpbinary 0

I can receive a file without problems, just can't send without that rotten error.
Previous
Reply
Map
View

Click here to load this message in the networking platform