Re: .NET to Delphi 7
- From: "Bob_?" <ng1@xxxxxxxxxxxx>
- Date: Thu, 22 Sep 2005 07:18:00 GMT
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:3pertlF9t884U1@xxxxxxxxxxxxxxxxx
> Bob_? wrote:
>> I'm trying to upload a binary file via HTTP to a ASP.NET application on
>> the server. Using Indy HTTP I've used
>> * reqContent := TStringStream.Create(binFileName)
>
> Note that that creates a stream whose contents are a name of a file. Just
> a string. *Not* the contents of that file.
>
> If you want the contents of a file, use a TFileStream.
>
> --
> Rob
When I use the file stream in the HTTP request it doesn't work -- how do I
get it to work with Indy HTTP?
.
- Follow-Ups:
- Re: .NET to Delphi 7
- From: Rob Kennedy
- Re: .NET to Delphi 7
- References:
- .NET to Delphi 7
- From: Bob_?
- Re: .NET to Delphi 7
- From: Rob Kennedy
- .NET to Delphi 7
- Prev by Date: Re: Exit Edit Box on Form
- Next by Date: Re: Point on Line Segment in 2D. Which code is faster ? Can you improve it ?
- Previous by thread: Re: .NET to Delphi 7
- Next by thread: Re: .NET to Delphi 7
- Index(es):
Relevant Pages
|