Upload, unzip and embed
WoozyDuck - October 24, 2009 - 01:05
Hi all,
I'd like to upload few image galleries and use them in the posts in my website.
These image galleries contain of one SWF file and a folder with images (jpegs) and one XML file which swf file need to load in order to load the images and show them.
Is there any automated way that I can zip all these files, upload it with Drupal file upload, unzip it on the server and then embed that swf content in my pages?

_
You would zip and upload files to your drupal site the same way you do it for any site or hosting account. For embedding swf's see the http://drupal.org/project/swftools module.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Thank you for your reply
Thank you for your reply again but I meant automatic process, meaning I upload a zip file using drupal forms and after submission the program unzip it on the server.
_
Ah ok-- in that case see http://drupal.org/project/modules?text=zip there should be a couple of modules that might be useful. However, you'll have to have zip support enabled on the server as well.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Great thank you Need to
Great thank you
Need to download few of them and see how they wrote the code
I guess I need to come up with a queue system as well as unzipping big files on the sever might take a while
Many thanks again
_
hopefully you'll find something useful. also, for queuing see http://drupal.org/project/job_queue.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.