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


kyace2003
2012-03-28T18:40:16Z
When encrypting all files A.* in a folder, PGP Encryption is making the output A.pgp when the input file names are A.B.C.D where C and D are different per file however A and B are the same. If appears that the process is going left to right looking for a period and then truncating the name and appending the .pgp.

Although one could argue that D is the extension, I really need .pgp appended to the existing name without any name change.

Is this possible?
Sponsor
Forum information
Support
2012-03-29T08:03:16Z
Confirmed. There is not solution for that right now. Added for fix later. Thank you for the report.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2012-04-23T06:57:56Z
kyace2003
2012-05-01T15:15:33Z
Tested 6.1.0 today, it is better but still fails to do what I would have expected.

I have two files in a folder named:
C337290N.ICDPRD.X277.C31127.D120501.T091718
C337290N.PCDPRD.X277.C31127.D120501.T091540

The output folder had this:
C337290N.PCDPRD.X277.C31127.D120501.pgp

I expected this:
C337290N.ICDPRD.X277.C31127.D120501.T091718.pgp
C337290N.PCDPRD.X277.C31127.D120501.T091540.pgp

If I encrypt using PGP I get:
C337290N.ICDPRD.X277.C31127.D120501.T091718.pgp
C337290N.PCDPRD.X277.C31127.D120501.T091540.pgp

anything short of this is not proper, just add the suffix instead of playing games with the file names.

Support
2012-05-03T17:49:33Z
Originally Posted by: kyace2003 

Tested 6.1.0 today, it is better but still fails to do what I would have expected.

I have two files in a folder named:
C337290N.ICDPRD.X277.C31127.D120501.T091718
C337290N.PCDPRD.X277.C31127.D120501.T091540

The output folder had this:
C337290N.PCDPRD.X277.C31127.D120501.pgp

I expected this:
C337290N.ICDPRD.X277.C31127.D120501.T091718.pgp
C337290N.PCDPRD.X277.C31127.D120501.T091540.pgp

If I encrypt using PGP I get:
C337290N.ICDPRD.X277.C31127.D120501.T091718.pgp
C337290N.PCDPRD.X277.C31127.D120501.T091540.pgp

anything short of this is not proper, just add the suffix instead of playing games with the file names.



I think "playing games" is not fair as the method is far more complex than just adding an extension. Your expected result is not a standard result as .T091778 is considered the "extension". We try to follow the standard of the Windows "ren". So, please compare behavior with that one.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
kyace2003
2012-05-04T20:00:43Z

Is it possible to have visual cron encrypt all of the files within a folder and for it to append ".pgp" to each name producing the resultant name without removing/changing the last .something to .pgp? In my particular need, I have multiple files where the last .something happens to be the piece that makes each file name unique and this is a requirement that I have to follow. Currently Visual Cron, produces a single file due to the assumption that the last .something should be replaced with .pgp therefore not producing the desired and/or expectant results when compared to other PGP tools available.

I have strict requirements where the name of the output file has to be the name without .PGP when the file is decrypted.

Support
2012-05-07T08:05:12Z
The Rename and Copy files Task has an option called "Post process mask..". First you might want to request that same feature for PGP encrypt Task. Then, to solve the problem right now you can use either Copy files or Rename Task. If your source is a File Trigger change you can use those result values to find the file or maybe you know the file name?

For example, to add pgp you could use it this way:

{STRING(Replace|{NEWNAME()}|{NEWNAME()}|{NEWNAME()}.pgp)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
kyace2003
2012-05-07T13:31:48Z
I have already spent hours trying to twist Visual Cron into not over writing my output files. It is not clear as to how rename and copy functions are similar to PGP, however its your application and at this point, it won't do what I need without me standing on my head, therefore I will go back to the solution that I had in place prior to visual cron, I will consider this just one of those pieces that Visual Cron won't meet everyone's needs and move on.
Support
2012-05-07T13:34:15Z
Originally Posted by: kyace2003 

I have already spent hours trying to twist Visual Cron into not over writing my output files. It is not clear as to how rename and copy functions are similar to PGP, however its your application and at this point, it won't do what I need without me standing on my head, therefore I will go back to the solution that I had in place prior to visual cron, I will consider this just one of those pieces that Visual Cron won't meet everyone's needs and move on.



If the problem is overwriting you can simply click and select to use another destination folder in the Encrypt Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
kyace2003
2012-05-07T20:51:31Z
Henrik

Please see post #4 on this topic, it clearly shows what Visual Cron is doing with the given input.
Support
2012-05-07T21:02:23Z
Originally Posted by: kyace2003 

Henrik

Please see post #4 on this topic, it clearly shows what Visual Cron is doing with the given input.



You talked about, in your previous post, that you have spent time on VisualCron trying to prevent overwriting. I just mentioned that if you want to keep the name you can save it in another folder.

We have already discussed #4 before so I am not referring to that. In your case you have a specific problem as you have files with no "real" extensions. As our method uses standard renaming I can only suggest workarounds for your special case.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2012-05-08T06:15:30Z
I was thinking if maybe you use a File Trigger to detect new files? Then it is easy to identify and add an extension. Just add this in the destination file name:

{TRIGGER(Active|LastTrigger|File.Result.Name)}.pgp
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
kyace2003
2012-05-10T15:32:19Z
I wanted to let you know that your suggestion did work after we tested it.

Thank you.
Support
2012-05-10T17:14:43Z
Originally Posted by: kyace2003 

I wanted to let you know that your suggestion did work after we tested it.

Thank you.



Great, thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top