Article View: borland.public.cppbuilder.internet.web
Article #499Re: Downloading and resuming
From: Remy Lebeau (TeamB)
Date: Wed, 08 Nov 2006 20:03
Date: Wed, 08 Nov 2006 20:03
36 lines
2380 bytes
2380 bytes
"Will Bright" <no@spam.com> wrote in message news:4551df26@newsgroups.borland.com... > This is exactly where my error message is coming from. Again, I ask you to PLEASE provide the actual error information that is being reported. This is the third time now that I have asked you for that. > The message I get back now is "unable to send file request to > the server" but my GetLastError() shows no messages in the > listbox. GetLastError() is guaranteed to return a valid error code if any of the WinInet functions return FALSE. > In the InternetOpen() call, is the URL supposed to be the way > I have it here? You are not supposed to pass any URL to InternetOpen() to begin with. The original code you showed, and the code I gave you afterwards, are not doing that. Did you change it? > InternetConnect hSession, "www.appcontrols.com", Why are you calling InternetConnect()? The code I gave you was not doing that. > Also in the HttpOpenRequest(), my edtURL->Text is pointing to > this url: http://www.appcontrols.com/download/cronjob.zip > is the format correct? Yes. Gambit
Technical Details
Message-ID:
<455238e0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@newsgroups.borland.com> <454ff6ea$1@newsgroups.borland.com> <4550497c@newsgroups.borland.com> <45512485$1@newsgroups.borland.com> <45512675@newsgroups.borland.com> <45515872$1@newsgroups.borland.com> <45516b6e$1@newsgroups.borland.com> <4551df26@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f20f86396ab98121 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@newsgroups.borland.com> <454ff6ea$1@newsgroups.borland.com> <4550497c@newsgroups.borland.com> <45512485$1@newsgroups.borland.com> <45512675@newsgroups.borland.com> <45515872$1@newsgroups.borland.com> <45516b6e$1@newsgroups.borland.com> <4551df26@newsgroups.borland.com> Subject: Re: Downloading and resuming Date: Wed, 8 Nov 2006 12:03:26 -0800 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <455238e0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163016416 69.169.4.232 (8 Nov 2006 12:06:56 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail