|
Post by tomazaz on Jan 16, 2006 10:09:58 GMT -5
Hello,
We have searched VCL solution for our project. Today I have found and downloaded TVCLZip Lite. I have implemented it in our ISAPI project. This ISAPI project will be hosted on IIS Windows 2003.
Now the problem which I don't get. I use the code below to zip several files in folder from ISAPI. On my PC it works perfect, but then I upload it to server I get zero 0 files zipped. Zip archive is created on server but it appears empty - no files in archyve. Note that ISAPI has permission to create and access files on server.
Could you please help us? Maybe you know where problem can be?
Strange thing is that zip archyve appears empty but there is no errors from VCLZip. VCLZipSkippingFile event also is not fired.
--------------------------------- for cik:=0............ begin VCLZip.ZipName := AJobPath + ChangeFileExt(AUploadFileName, '.zip'); VCLZip.TempPath := APath; VCLZip.FilesList.Add(AList[cik]); end; VCLZip.Zip; ---------------------------------
Regards, Tomas
|
|
|
Post by Kevin on Jan 17, 2006 18:58:39 GMT -5
Let me be sure I understand. Everything works on your PC. (And you are running it under IIS on your PC?) You run the same code on your IIS server and you get no errors but the archive is just empty. Is that correct? In both cases is this running as a process under IIS?
Can you tell me some example paths that you are putting into the FilesList?
Also, let me be sure of another thing, are you using the demo version? What version does it say it is? Check the thisVersion property in the object inspector.
Kevin
|
|