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: Problem Zip.ZipText
BladeFX
Junior Member

Posts: 3
Registered: 3/20/2006
Member Is Offline
posted on 3/20/2006 at 11:23 AM Reply With Quote
Problem Zip.ZipText


Zip.ZipText "TestTextFile.txt", "Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text"

gives several errors.

SoftComplex.Zip error '80040201'

Cannot create file "C:WINDOWSsystem32A?A?A? A?A?". The filename, directory name, or volume label syntax is incorrect

OR

SoftComplex.Zip error '80040201'

Cannot create file "". The system cannot find the path specified
View User's Profile View All Posts By User U2U Member
wit
Member

Posts: 23
Registered: 11/19/2004
Member Is Offline
posted on 7/2/2006 at 04:08 AM Reply With Quote

You have to create a zip archive prior to calling ZipText method. e.g.

Set Zip = CreateObject("SoftComplex.Zip")

Zip.New Server.MapPath("/temp/test.zip")

Zip.ZipText "TestTextFile.txt", "Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text"

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