12 Oct
2001
12 Oct
'01
12:58 p.m.
Tom Deprez wrote:
Now I would like the user to be able to download a complete folder, just by clicking it on the browser. The best way to let the user download the whole folder is (I think) to first zip the folder and then let the user download the zip file.
Make sure you cache that zip file on the server so you're not wastign loads of processro tiem regenerating it all the time! ;-)
Now, are there people who know of a good python library for zipping a file (.zip format) Or do people know if it is possible to download a complete folder?
import zipfile (python 2.1+) cheers, Chris PS: You're HTML mailing ATM ;-S