WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Unzip password protected file (Read 512 times)
The Ginger Monkey
YaBB Newbies
*
Offline



Posts: 3
Unzip password protected file
Jan 6th, 2017 at 11:44am
 
Hi

is there any clever way of unzipping a password protected zip file? This is a regular task that uses the same password every time. Doesn't look to be anywhere in the unzip plugin but I may have missed something

Cheers
TGM
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 658
South Germany
Re: Unzip password protected file
Reply #1 - Jan 6th, 2017 at 12:17pm
 
Yes  Smiley
Use .bat-file plugin with a command line unzipper.
E.g. you can use 7zip and provide password in the script, something like
"c:\program files\7-zip\7z.exe" x "%WD_FILE%" -pPASSWORD

see:
http://7-zip.org/
https://sevenzip.osdn.jp/chm/cmdline/switches/password.htm
http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html
Back to top
 

Viele Grüße / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Unzip password protected file
Reply #2 - Jan 8th, 2017 at 6:03am
 
We will add password support for the Unzip task in the next release (soon, probably next week).
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1