Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


nirchi
2008-06-06T22:09:53Z
When creating a PGP decryption task, how would I dynamically name the decrypted output file the same as the source file with the filename extension being different?

For example,

Source Filename: <some timestamped filename>.PGP
Destination File: <some timestamped filename>.TXT

or a real example,

Source Filename: DATA_06063008_150645_1.PGP
Destination Filename: DATA_06063008_150645_1.TXT

Thanks in advance
Nirchi
Sponsor
Forum information
Support
2008-06-06T23:24:53Z
Are you using a File Trigger for the Job?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
nirchi
2008-06-06T23:39:17Z
Henrik,
Yes - I have a file create trigger on a specific folder.

Is there a filename variable I can reference from the trigger?

Thanks,
Nirchi
Support
2008-06-07T00:02:26Z
Yes, click on Variables button.

Browse the tree: VisualCron variables->Jobs->Active job->Triggers->Last trigger->File->Result->Path

This will result in this variable: {TRIGGER(Active,LastTrigger,File.Result.FullPath)}

Then you can add .txt for example like the row below:

{TRIGGER(Active,LastTrigger,File.Result.FullPath)}.txt
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
nirchi
2008-06-07T00:12:13Z
Henrik,
That suggestion worked!

Thanks for the expert help!
Nirchi
Scroll to Top