Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- C. Feldmann
July 9, 2008, 1:15 pm
rate this thread
I have stumbled upon a problem, for which I can=92t seem to find a
solution for. I would like to offer files for downloading. To allow
files to have duplicate names I renamed as random alphanumeric-
strings. With the header command I can give them theirold name=94 back
just before downloading. Then use readfile or loop through feof/echo
fread to push the file=92s contents. This works well.
The amount of files has increased, so that I am hosting them on a
How do I push the files without:
a) installing a script on the separate box
and b) channeling the bandwidth through the server with the script?
I was hoping I could send a content-disposition-header command
followed by a location-header command, but that does not seem to work.
The location gets changed but the content-disposition info gets
Does anyone have any ideas on this?
Re: Header: Content-Disposition followed by Location
You won't be able to serve the files from the other box directly without
a server installed, and probably some scripts. Then you can use the
Location header to redirect - although your user will also see the new
Otherwise, you can fetch the files from the other server, i.e. with nfs,
and server them from your server.
Remove the "x" from my email address
JDS Computer Training Corp.