Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Zipping files with password
sczip_test
Newbie

Posts: 1
Registered: 4/16/2007
Location: san Jose
Member Is Offline
posted on 4/16/2007 at 11:47 PM Reply With Quote
Zipping files with password


What's the syntax to create a zip file encrypted with a password?
View User's Profile View All Posts By User U2U Member
wit
Member

Posts: 23
Registered: 11/19/2004
Member Is Offline
posted on 4/17/2007 at 04:05 PM Reply With Quote

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
%>
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Free Download Free Download
Product Documentation Documentation
Documenation Page
Code Samples
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004