Community forum

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


Hanna M
2015-07-14T08:22:05Z
Hi,

I have a problem with one of my jobs which contains the task: PGP Decrypt.
The job looks like this

List file(s) in folder
PGP Decrypt
Copy files
Between PGP and Copy i have Loop X

When the decrypted file is 0 Kb i get an output error: PGP File decryption error: Unexpected end of data
When the decrypted files is X KB the job is a Success
Sponsor
Forum information
Support
2015-07-14T09:10:27Z
What if you encrypt the same 0 kb file in VisualCron first and then decrypt it? Do you have the same issue then? Want to determine if it is PGP specific or something else.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Hanna M
2015-07-14T12:47:42Z
Ok, so I did as you wanted. First I encrypt the same 0 kb file in Visual Cron and then decrypt it. I didn't have the same issue.

Short explanation:
The problem is that the files are sent via FTP to us from another company. First of all VC download these files and moves them to the specified catalog, after that decrypted files and move to import. We often gets files which are empty. When the decrypted file is 0 Kb i get an output error: PGP File decryption error: Unexpected end of data
thordw
2015-07-15T06:54:25Z
Hi Hanna

A quick fix would be to use the "Size attributes" in the list task and only list files that are > 1 byte.
Hence you only get the ones that contains data.

Just a tips 😎
Scroll to Top