Article View: borland.public.cppbuilder.internet.socket
Article #3697Re: http 302 error (redirect)
From: Remy Lebeau (TeamB)
Date: Thu, 21 Jul 2005 22:02
Date: Thu, 21 Jul 2005 22:02
25 lines
1974 bytes
1974 bytes
"Blake Young" <blakeyoung@mail.utexas.edu> wrote in message news:42e014c4@newsgroups.borland.com... > Thanks for the HTTPS vs HTTP explanation. I tried doing what you > said, and in one sense it worked, but in another it didn't. Using the > TClientSocket, I changed the port number to 443, but now the > response is a flat-out 404 error. Your TClientSocket code is still not doing anything with SSL at all. Like you said earlier, HTTPS is a secure connection. You need to establish a secure connection with the server before you can do anything over HTTPS. I high suggest that you stop using TClientSocket. Both HTTP and SSL are very complex to properly code manually. There are plenty of pre-made implementations that you should be using instead. > I'm having the same problem trying to download this file from a Tripod > site that I uploaded it to (http://winboxer.tripod.com/version.txt). Works fine when I try it. But then, I'm using a much newer version of Indy than you apparently are. Gambit
Technical Details
Message-ID:
<42e01c50$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42e00af1$1@newsgroups.borland.com> <42e00ee5$1@newsgroups.borland.com> <42e014c4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5aca12ad06e8e880 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <42e00af1$1@newsgroups.borland.com> <42e00ee5$1@newsgroups.borland.com> <42e014c4@newsgroups.borland.com> Subject: Re: http 302 error (redirect) Date: Thu, 21 Jul 2005 15:02:59 -0700 Lines: 27 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: 68.69.17.41 Message-ID: <42e01c50$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121983568 68.69.17.41 (21 Jul 2005 15:06:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail