Re: .NET to Delphi 7



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
.



Relevant Pages

  • Re: About FP, folder permissions, and sysops...
    ... Perhaps my "Shame, shame, etc.. ... Your contention was that ASP is some evil scheme to entice developers to use ... 4.> Even if you allowed an unmonitored FTP upload to your server ... Bob Lehmann ...
    (microsoft.public.frontpage.addins)
  • Is this a hoax or real?
    ... Coan's free Hidden File Detector software. ... Alice is the bad guy. ... location of a file that Bob, the good guy, can get to. ... Alice has her own Web server. ...
    (microsoft.public.security)
  • Re: Is this a hoax or real?
    ... Alice is the bad guy. ... location of a file that Bob, the good guy, can get to. ... Alice has her own Web server. ... Alice can pilfer more than a file. ...
    (microsoft.public.security)
  • Re: About FP, folder permissions, and sysops...
    ... the same methods as most software developers. ... development tools, server software, hardware acquisition, and skilled ... Microsoft continues the tease and tickle tactic even today with their ... When I was stricken with 500 Gb of data transfer in a single day, Bob, ...
    (microsoft.public.frontpage.addins)
  • Re: help on caller credentials !! :-(
    ... I am runing my client application under user BOB on an Windows 2000 ... machine Then my server component is hosted in a windows service ... under windows 2000 and prefer mode should be "Impersonate". ...
    (microsoft.public.dotnet.security)