I have a need to create a zip file of images on the server. The list of images changes frequently and it’s difficult to keep the zip file up to date. I’d like to create a script so that whenever the images change we could run this script to delete the old zip and create a new one with the most recent images.
I’ve seen several references to using WScript.Shell to do this. Is this something that is available on Jodo servers, and would it have the appropriate permissions?
If not (and it does sound like a security problem) are there any other ways to achieve this?
I knew the files outside the site folder are not accesible from outside (that’s why I keep my databases in a folder placed at the site folders level), but I thought they are available for scripts as dbs are.
Zaboss,
I haven’t run that code, but at a guess I’d say the filename you end up with from this would be an illegal filename, because it’s likely to contain / or other illegal characters. You might want to first get the date, replace all non-alpha characters, then use it in the file name.