Page 1 of 1
[solved] downloading
Posted: Sat Sep 17, 2005 9:26 am
by zoe
I'm sure this is a pitifully simple problem, but I'm not sure where to look to find the solution.
All I want to do is allow users to download files from my site without right clicking a link and saving the target. If possible I'd like to be able to retrieve files direct from the server, rather than via a database. Is there a simple way of achieving this?
Posted: Sat Sep 17, 2005 11:08 am
by Trenchant
ZIP or EXE files.
if you want someone to automatically go to this group of files and download them all at once then simply zip them up and save them on your server. When a user goes to that address it will automatically start downloading.
Another alternative is specifying what file you want them to download in the header file.
Posted: Sat Sep 17, 2005 11:45 am
by NilsK
You could also use tar and bz files.
Any archive file will work with this...
Posted: Sat Sep 17, 2005 12:55 pm
by feyd
zip files are often the better solution since most machines intrinsicly know how to unpack them these days.. tar/gz is mostly tied to unix based systems, exe will only work for windows and is more of a security/virus issue...
Posted: Sun Sep 18, 2005 4:57 am
by zoe
Thanks very much everyone who replied. I ended up following a tutorial and building an elaborate script to upload, download, view, delete, everything. I'll know next time.