KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to use TZipFile.ZipDirectoryContents() Like so: TZipFile.ZipDirectoryContents('Test.PCF', WorkingDir); If I am reading this right, it should save the contents of folder "workingdir" into a file named Test.pcf. Now when I do this I get error:: Raised exception class EFOpenError with message Cannot open file ...test.pcf. The process cannot access the file because its being used by another process." Two things confuse me: It says that it cannot open file. There is no test.pcf yet. I was hoping this would create it. It says cannot access file. Is this because it's not created yet? Am I using this function wong? If so how would I create a zip file from a folder location?
Tags (comma-separated)
Save Edits
Cancel