I have implemented a functionality that uploads the file created within the app at the FTP location, though 'pathForResource' / P>
SCRFTPRequest * ftpRequest = [[SCRFTPRequest alloc] initWithURL: Returns an error where it can not find the file path for the resource. [ns URL = URLWithString: @ "ftp://79.170.44.42" toUploadFile: [[NSBundle main bundle] pathForResource: self.htmlFilePath ofType: @ "text / html"]];
I am able to upload packaged files with my app, for example, how do I locate the file's file created within the standard 'info.plist etc' files app Can I specify? Do I need to give the complete resource path instead of referencing the object?
[[NSBundle main bundle] pathForResource] only in the XCode project Works for added files will require you to view the file where it was created, where you stored it.
Comments
Post a Comment