Short Question:
Is there a way to call the root file system (similar to iFile) from a jailbroken ios application in order to upload files from the local device to a server?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Wow, I can’t believe no one answered since April. Possibly you’ve already found the solution, but anyway: yes, you can. Check out the
NSFileManagerclass:https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/
Depending on whether you have text or binary files, you’d then need to check out either
NSStringorNSData, respectively (more info available in Apple’s Documentation).Just make sure your app is not running from the
/var/mobile/Applicationsdirectory, but rather/var/stash/Applications.