Archived Forum Post

Index of archived forum posts

Question:

Unzip on iOS: Permission Denied for temp file.

Dec 10 '12 at 15:27

Unzipping is failing on iOS. The LastErrorText contains this error. How can this be fixed?

    pathToOpen: ./ckZ_4C4B.dat
    errno: 13
    osErrorMessage: Permission denied
    Failed to open file for read/write (random access)
    Failed to open temp file (1)
    tempFilename: ./ckZ_4C4B.dat


Answer

See this Chilkat blog post: Setting Zip.TempDir to the Documents Directory