Hi,
I have three questions regarding the zip action in FinalBuilder:
1) I need to create a zip file of a folder at a remote location(a FTP site). Is there an action to do that?
2) I need to create a folder using the "create directory" action and then create a zip of this folder. How do I create a zip of a folder which is going to be created? I am using the "7-Zip Create Archive" action, but it only accepts exsiting folders.
3) I am using the "7-Zip Create Archive" action, when creating the zip file, how do I give the zip file name a timestamp?
Regards,
Sam
Hi
There is not an action to zip files that reside on an FTP site. To do this you would need to download the required files to the local machine and zip them locally.
As long as the folder you are attempting to zip exists at the time the action is run it will be fine. So just set the path to the directory that your create directory action will create.
You will need to create a variable and use the Get Date Time action to set the value of the variable to the current time (you can also specify the format). Then you just reference this variable in the name of your zip file when you create it.
Hope this helps.
Regards,
Steve