How can I a send the content of a file by calling send()?
Right now I am able to send a string; but I want send() to get its input
from a file.
The usual way is to 'read' the file (in sensibly-sized chunks if it'sQuote:> Hello,
> How can I a send the content of a file by calling send()?
> Right now I am able to send a string; but I want send() to get its input
> from a file.
I'm working on a http-CORBA modul for Apache.
The modul can send files to the client browser. - These files can be
generated on the fly by a CORBA server.
I've seen that programs like Bulletproof FTP send a http request that
tells the server to send only part of the file.
It is useful if you have already downloaded a part of the file but your
connection broke and you don't want to start again from the beginning.
I'd like to do this in the http-CORBA modul. How should I do this? Where
can I fidn information about the protocol used in the http headers?
Thanks in advance
< 1K Download