sczip_test
Newbie
Posts: 1
Registered: 4/16/2007
Location: san Jose
Member Is Offline
|
| posted on 4/16/2007 at 11:47 PM |
|
|
Zipping files with password
What's the syntax to create a zip file encrypted with a password?
|
|
|
wit
Member
Posts: 24
Registered: 11/19/2004
Member Is Offline
|
| posted on 4/17/2007 at 04:05 PM |
|
|
Use code like below
<%
Set zip = Server.CreateObject("Softcomplex.Zip")
zip.New Server.MapPath(".") & "\test.zip"
zip.FileList.Add(Server.MapPath(".") & "\file.doc")
zip.Password = "SomePass"
FileCount = Zip.Save
%>
|
|
|