Task Sequence to unzip and email
User support Request
-unzip files in the directory and delete them in one step
-email name of files that have been unzipped
Part of my problem is zip files don't have .zip (or common) extension. They have pdf/doc/xls/etc but they are still compressed -meaning files have extension of the files that are within zip files.
Tech Support
1) unzip task
task title = unzip
Source directory = dir containing compressed files
target directory = any other valid folder
filename filter = (leave blank to process all files)
2) taskseq
Step 1 = unzip (select option : go to step email_fail if exit code > 0)
Step 2 = delete
Step 3 = email_success (select option to always stop sequence at this
step, so email_fail is not run)
Step 4 = email_fail
3) delete task
Source directory = dir containing compressed files
Filename field = $%unzip::SuccessZipnames%$
4) email_success
message body:
The following files were unzipped: $%unzip::SuccessZipnames%$
User support Request
Thank you for the information - very useful. One more question how
can separate nicely multiple files using this variable
"$%unzip::SuccessZipnames%$" . They appear to be separated only by
^.Thanks!
Tech Support
You could use a Manipulate Variable task before the email tasks. (Newtasks button / Variables folder / Manipulate Variable)
select unzip::SuccessZipnames from the list
find string = ^
replace string = , or ,(space) or two spaces etc...
new variable = unzip::FormattedSuccessZipnames
Then use $%unzip::FormattedSuccessZipnames%$ in your email message body.
As always, it is a pleasure doing business with you. We are very happy with the capabilities of the new version of Automize and are looking forward with moving ahead with our first production system based on this software. –Automize Enterprise User
Thanks for your timely response. You make a great product, and we're integrating it more and more into our daily production activities. I will try out these FTP suggestions as you've outlined. –JaSFTP User
Just wanted to compliment you folks on a great product. your product is working flawlessly! I'll definitely be purchasing it, and telling every other "IT type" I know about it! Thanks so much. –Automize User
Your program was exactly what I was looking for...you have all the features that I require; all in one program!!–AbleFTP user