Hi,

Apologises if this is a little OT but I am can't seem to find anything
relevant elsewhere. I am currently using MP1, 1.29 on Linux.

I need to create a archive file and send it back to the user. The files 
within the archive will be jpegs so compression isn't needed, but I 
need the archive so they can download all the files in one hit. The 
end-users are all Win32 and will use winzip to open the archive so 
tar files might be...a bit complex for them to handle.  

I have 2 problems to overcome. The most obvious (and 
embarressing) is that I don't know how to send a request a file. I 
have seen examples of sending a filehandle ($r->send($fh)) but I am 
not sure that this is appropriate.  

The other problem is how to create the archive and with what. I have 
installed Apache::GzipChain but it seems unduly elaborate. Any 
suggestions here would be great.  

If I you do need to send a file as a filehandle, what are the other 
headers that need to be set, content_length, encoding and type and 
would the archiving process need to be done as a pipe?  

Sorry if I'm rambling here but I am don't know where to begin.
Thanx.
Dp.

~~
Dermot Paikkos * [EMAIL PROTECTED]
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

Reply via email to