HTTPServer send a Stream instead of file

Giganews Newsgroups
Subject: HTTPServer send a Stream instead of file
Posted by:  SD (nospa…@please.it)
Date: Fri, 29 Oct 2004

Hi,
I need to use the HTTPServer to send, on OnCommandGet event,
a Stream content instead of file content by passing its name.

At this moment I use HTTPServer->ServeFile(..., ..., thefile) which
send the file content but I would like to send same file between
a TMemoryStream point insted of a filename.

Thank you very much for your suggestions...

Replies