Forums

Zip or Compress Uploads?

goodcopy 30 Nov, 2012
Forgive me if this question has been answered already, I was unable to find any mention of this.

Is there any way to make it so that files uploaded to a folder via a form are automatically zipped compressed into a .zip or .sit folder?

-Todd
GreyHead 01 Dec, 2012
Hi Todd,

I don't remember it being asked before. Provided that you have a zip library in your server PHP installation (you probably do) then you could do it with a Custom Code action and the PHP Zip commands. See the manual here.

Bob
goodcopy 03 Dec, 2012
Ah, I see. It's good to know that this is likely possible, but sorting out the appropriate custom code content might be a bit over my head. I'm wondering if anyone would be available to give a bit of instruction?
This topic is locked and no more replies can be posted.