Zip Processor ASP 3 Support Product Page

Solved

Zip Processor: ERROR: Invalid credentials.

Reported 11 years ago
1
has this problem
11 years ago Andrew Wiggins posted:
I have create a simple asp page that executes the zip processor on a file successfully. I have copied the code and inserted it in another asp page within a script but I get 'Zip Processor: Invalid credentials.' error.

Code:
Dim zipData
Set zipData = New ZipProcessor
zipData.Key = "80919025-C915-43BA-A7EE-B2054E20CF9A"
zipData.ScriptFolder = "../../ScriptLibrary"
zipData.Source = "folder"
zipData.Overwrite = false
zipData.Action = "zip"
zipData.Comment = "" & vbCRLF & " "
zipData.UploadFolder = "../../file/company/export"
zipData.ZipFileName = "zipfile1"
zipData.DownloadZip = false
zipData.DeleteAfterZip = false
zipData.DefaultFile = ""
zipData.Folder = "../../file/company/data"
zipData.ProcessFiles
Any help would be gratefully received.

TIA

Andrew

Replies

Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello, please provide a link to your page. Also - did you try adding the zip processor to your page, not just copying the code from another page, as just copying the code you can easily forget to copy the required files?
Replied 11 years ago
11 years ago Andrew Wiggins replied:
Hi

Thanks for your reply. I have decided to change the page so the form posts to another page where the zip processor works great now.

Probably my design was at fault.

Andrew

Reply to this topic