ArchiveDecompress API Method - VisualCron - Forum

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


Kevin R
6 years ago
I would like to access info from an ArchiveDecompress task. I would like to either get the password that is stored or at a minimum be able to see if the task is marked to use a password on extraction. Right now I don't see anywhere in the API that indicates if the archive uses a password or not, so I'm thinking that is encoded in the ArchiveDecompress.PassWord method.

Here's what I'm trying to use that does not give me usable string: [string][System.Text.Encoding]::ASCII.GetString($_.ArchiveDecompress.PassWord)

Any help would be appreciated.
Sponsor
Forum information
Support
6 years ago
You can use clientObj.Decrypt/Encrypt or serverObj.Decrypt/Encrypt method on that object.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Kevin R
6 years ago
Originally Posted by: Support 

You can use clientObj.Decrypt/Encrypt or serverObj.Decrypt/Encrypt method on that object.



Great, thank you!!!
Kevin R
6 years ago
One more question. Is there a way to see if "Usepassword" is checked via API? I'm having trouble finding it, if so.
Scroll to Top