Thomas Kerkmann schrieb:
> I want to receive huge files via HTTP, using HTTPsend object.
> These files are encrypted, and I thought I could decrypt them while
> receiving, 
> using an own stream write method in the receiving stream. 
>
> Unfortunately the Document property is read only, so I can not insert my own
> stream here. 
> But I think it would be very unperformant to receive some 2..5 Gbytes into a
> Memory stream and then copy/decrypt it into a file stream.
>
> Anyone has ever tried some kind of this ?
>
> Any hints appreciated.
>
>   
I've never done this. But two ways come to my mind:

A:  You could probably use RangeStart / RangeEnd to only read a part of
the file to Memory at a time.
B:  Make a descendant of THTTPSend and Override  HTTPMethod(..) to fit
your needs or define fDocument as TFileStream or....

Just ideas, not sure how easy it is.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to