BladeFX
Junior Member
Posts: 3
Registered: 3/20/2006
Member Is Offline
|
| posted on 3/20/2006 at 11:23 AM |
|
|
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:WINDOWSsystem32¬©œ ÷£". 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
|
|
|
wit
Member
Posts: 24
Registered: 11/19/2004
Member Is Offline
|
| posted on 7/2/2006 at 04:08 AM |
|
|
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
|
|
|