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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Karl-Heinz" <invalid@invalid.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Cryptic Error Message from CFtp
Date Thu, 10 Nov 2011 18:40:13 +0100
Lines 39
Message-ID <9i2gnnFslgU1@mid.individual.net> (permalink)
References <j9e517$641$1@news01.versatel.de>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original
Content-Transfer-Encoding 7bit
X-Trace individual.net QLPgyuq4332wu86+3+0+TAdTuI0COtpSB2f3ICc5jQUJGBFlk=
Cancel-Lock sha1:Q4OZTuI84O0VPkt3x+3oC8hNywI=
In-Reply-To <j9e517$641$1@news01.versatel.de>
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE Produced By Microsoft MimeOLE V6.1.7600.16807
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2416

Show key headers only | 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