Hi to everyone,
I made a flow which creates .zip file.
The problem is that when it runs several times, it overwrite the existing file so I lose the first file.
How can I solve it?
I think that I can use a random number to create the file name, so finally I could have several different files,
but how can I use the random function to use it as a file name?
[SOLVED] Append to zip file, possible?
Moderator: Martin
[SOLVED] Append to zip file, possible?
Last edited by wfrcrd on 30 Mar 2016 11:27, edited 1 time in total.
Re: Append to zip file, possible?
When you create the ZIP file, could you append the current time (using triggertime) to the file name? That would ensure that it was unique and was not overwritten.
--
Philip
Philip
Re: Append to zip file, possible?
yes , but how?Philip wrote:When you create the ZIP file, could you append the current time (using triggertime) to the file name? That would ensure that it was unique and was not overwritten.
On the zip action i must specify the name of the destination zip file , I don't know how to give it the time-based name...
Re: Append to zip file, possible?
How are you creating the ZIP file?
Can you get it to output to (say) myfilename_{triggertime,dateformat,yyyyMMdd_HHmmss}.zip
Can you get it to output to (say) myfilename_{triggertime,dateformat,yyyyMMdd_HHmmss}.zip
--
Philip
Philip
Re: Append to zip file, possible?
Philip wrote:How are you creating the ZIP file?
Can you get it to output to (say) myfilename_{triggertime,dateformat,yyyyMMdd_HHmmss}.zip
Yes, it works perfectly!
I used the "zip" action , and on the file name I've specified the name using that format.
thank you !!! ^_^