Hi, I am unable to untar a tar.gz file following is mine code
This is the error Log
Unxiped ChilkatLog: UntarGz: DllDate: Dec 30 2015 ChilkatVersion: 18.104.22.168 UnlockPrefix: Anything for 30-day trial Architecture: Little Endian; 64-bit Language: IOS Objective-C VerboseLogging: 0 pathQP: Alfresco_Resources.tar.gz fopen_failed: errno: 2 osErrorMessage: No such file or directory Failed to open file. mode: r path: Alfresco_Resources.tar.gz --fopen_failed Failed to open file data source. --UntarGz --ChilkatLog
I have tried with both
tarTask.NoAbsolutePaths = YES & NO both.
This question is marked "community wiki".
asked Jan 27 at 03:34
When a filename with no path part is passed to a method requiring a file path, one cannot assume the file to be located anywhere except for the current working directory of the process. I don't know what that might be in iOS. The solution is to pass an absolute file path to the .tar.gz so there is no question about where the file is located.
answered Jan 27 at 15:18