Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2416

Re: Cryptic Error Message from CFtp

From "Karl-Heinz" <invalid@invalid.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Cryptic Error Message from CFtp
Date 2011-11-10 18:40 +0100
Message-ID <9i2gnnFslgU1@mid.individual.net> (permalink)
References <j9e517$641$1@news01.versatel.de>

Show all headers | View raw


Hi Harry,

> In an application CFtp:OpenFile(cFile, ...) returns a NULL_PTR So 
> CFtp:Error is 0x00002EE3 (12003) and CFtp:ErrorMsg gives "Erweiterter 
> Fehler" (Extended Error).
>
> Only with debugging this I found the reason in cFile having the wrong 
> contence.
>
> Is there another way to find what "Extended Error" means more exactly?


12003 means ERROR_INTERNET_EXTENDED_ERROR

according the docs

http://msdn.microsoft.com/en-us/library/aa385465

you must call InternetGetLastResponseInfo() to retrieve the last error 
description or server response.

http://msdn.microsoft.com/en-us/library/aa384717

taken from the InternetGetLastResponseInfo() remarks section :

[...]

The FTP protocols can return additional text information along with most 
errors. This extended error information can be retrieved by using the 
InternetGetLastResponseInfo function whenever GetLastError returns 
ERROR_INTERNET_EXTENDED_ERROR (occurring after an unsuccessful function 
call).

[...]


regards
Karl-Heinz

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cryptic Error Message from CFtp "Harry B." <bongoplayer@gmail.com> - 2011-11-09 16:08 +0100
  Re: Cryptic Error Message from CFtp "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-10 02:12 -0800
    Re: Cryptic Error Message from CFtp "Jamal" <vodotnet_nospam@yahoo.com> - 2011-11-10 09:40 -0500
      Re: Cryptic Error Message from CFtp "Francesco F." <francescangeli.f@tiscali.it> - 2011-11-09 17:52 +0100
        Re: Cryptic Error Message from CFtp "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-10 08:03 -0800
    Re: Cryptic Error Message from CFtp "Harry B." <bongoplayer@gmail.com> - 2011-11-10 18:00 +0100
  Re: Cryptic Error Message from CFtp "Karl-Heinz" <invalid@invalid.invalid> - 2011-11-10 18:40 +0100
    Re: Cryptic Error Message from CFtp "Willie Moore" <williem@wmconsulting.com> - 2011-11-10 12:33 -0600
    Re: Cryptic Error Message from CFtp "Harry B." <bongoplayer@gmail.com> - 2011-11-12 09:09 +0100

csiph-web