I'm am pretty new to iphone developing and am trying to write an app that first gets the contents of a file off of a shared folder on a windows machine over a wifi connection.
I was wondering if I could tell me if I could use initWithContentsOfURL to do this or not? and if not is there a way to do this?
Kage333 - if the folder is shared on a web server, and you know the URL, then yes, easy peasy. If you mean a SMB / samba share, then no, I don't think so.
I apologize, I did try to do a search, but only found examples using web addresses, but I am just talking about on a closed wifi network, I guess a smb type of sharing. (I am not real familar with some terminology, but like connecting to 192.168.1.1/sharedfolder/file.txt)
does anyone know of a way to do this for the iPhone if initwithcontentsofURL won't work?