Commit 333159c6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

wifi upload: fix NSFileManager error 4 when upload completes on device

parent 7c97ca33
......@@ -141,7 +141,7 @@
_filename = filename;
// create the path where to store the media temporarily
NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory, NSUserDomainMask, YES);
NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
NSString* uploadDirPath = searchPaths[0];
NSFileManager *fileManager = [NSFileManager defaultManager];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment