Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : TidHttpServer - uploading from a web browser (the Revenge)

www.cryer.info
Managed Newsgroup Archive

TidHttpServer - uploading from a web browser (the Revenge)

Subject:TidHttpServer - uploading from a web browser (the Revenge)
Posted by:"Vern Baker" (javakinet..@gmail.com)
Date:9 Feb 2007 20:00:08

I have a feeling this might be the bane of the Indy Team, as I have
found a lot of examples for Indy 9, but nothing yet for 10.

Okay, I'm using Indy 10.1.5 on D6 (Indy 10).   I never was able to get
the MIME decoding working on 9.... hence, the move to 10.   I see
someone *nearly* had it with the TIdStreamVCL, but the TIdStreamVCL
was removed, and the code example no longer functions

I have tried several code samples from Remy's responses over the
years.  With quick modifications to Indy 10, they are all giving:

"Assertion failure (C:\Program Files\Indy 10 for Delphi 6\Source\System
\IdGlobal.pas, line 3181)"

When debugging, I get to...

Decoder.ReadHeader;
// which eventually calls: IdMessageCoderMime (line 598) ...
LLine := ReadLn;   // ** Boom... pops the error message here.

I know this one is a cause of frustration.  I'm dying to see what I
have have been missing.  Cheers!  ..V

Replies:

www.cryer.info
Managed Newsgroup Archive