tags:

views:

21

answers:

1

Is there a quick way to spit out a directory listing for a specific folder in NSHomeDirectory? I'm playing with an example in ASIHTTPRequest that downloads an image via:

[request setDownloadDestinationPath:[[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"totallyhotmilf.jpg"]];

I'd like to list the files in the Documents folder to see whats actually getting downloaded for debugging purposes. Thanks for the help.