I have the below code that I am truing to zip a folder. Locally it works, but when I installs it in the server, first it giving me a general error, which I fixed by giving full permission to the Winzip and downloads folder, but now I get no error and the resulting zip file is not created.
I am using IIS6 and Plesk.
Any feedback would be appreciated.
Set oShell = CreateObject("WScript.Shell")
winZipPath = "C:\Program Files\Winzip\wzzip.exe"
confPath = "C:\Inetpub\vhosts\client.com\httpdocs\audio\Downloads\ABC0034860"
cmd = chr(34) & winZipPath & chr(34) & " -p -r " & confPath & ".zip " & confPath
oShell.Run cmd, , True
fso.DeleteFolder confPath, True
Set oSshell = Nothing