pathForResource of file created within app
===

I've implemented a bit of functionality that uploads a file created within the app to an FTP location, however the 'pathForResource' returns an error where it cannot find the filepath for the resource.

This is the code i'm using:

     SCRFTPRequest *ftpRequest = [[SCRFTPRequest alloc] initWithURL:[NSURL URLWithString:@"ftp://79.170.44.42"] 
                                                      toUploadFile:[[NSBundle mainBundle] pathForResource:self.htmlFilePath ofType:@"text/html"]];

I've been able to upload files that are packaged with my app, for example, files that are standard 'info.plist etc'. How would I be able to specify the location of a file that is created within the app? Do I need to give a full resource path instead of just referencing the object?

