saving files to cocoahttpserver in iphone

2.3k Views Asked by At

I need to download a file from an url and save it to local cocoahttpserver I have in my iphone app so that later i can access it using something like http://localhost/filename.txt

I have the cocoahttpserver code. But I am unable to figure out how to save files to it. Any help would be great.

Thanks.

1

There are 1 best solutions below

1
On BEST ANSWER

You could configure both your file's download directory and the http server to access your app's Documents directory.