views:

399

answers:

1

Hello,

I was wondering if anyone could help point me in the right direction if I am trying to write the contents of a file from a shared folder on a windows machine to an array on the iphone over a wifi connection.

could I do it with initWithContentsOfURL??

thanks for the help

A: 

initWithContentsOfUrl reads files produced by the writeToURL:atomically: method. These two methods require an HTTP server to work, so you would need to setup IIS or Apache on the windows box.

What you want is an iPhone samba client.

Samba is an open source implementation of networking protocols to share files and printers between Unix computers and Windows.

I did some searches but didn't find anything worth linking. Someone else chime in here...

bentford
thanks for the info, it seems like there are some apps that do this so I think that it must be possible, but just can't seem find any information about it
Paul Lapke