Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AndyCodez

macrumors regular
Original poster
Aug 6, 2009
187
0
I'm looking for information how to set up these services properly. I have the picture sharing browser and picture sharing mac os x apps they have helped. I can set up the service to be viewed by finder but when trying to connect to the service it just fails. I know I'm trying to figure this out properly and I need help. I'm looking to use afp and/or webdav type services.

I've been looking all over to find a blog or tutorial on how to setup these connections properly. The 2 sample projects apple provides are useful but only display sending a particular file. What I need is a folder to be displayed from the iphone App and the user is able to drag and drop csv's into it when the user is connected to the service.

Here is an example of something like what I'm looking for. I'm only doing this to get data into my application not as a file transfer app so to speak.

http://www.ilounge.com/index.php/articles/comments/iphone-gems-every-file-storage-app-reviewed/

Thanks for any help. There is not a whole lot on setting up these types of services. I really don't have much networking experience.

Thanks, and happy new year!

I'm about to give up :/ I've been banging my head against the wall for like 3 weeks now trying to figure this out :/
 
This

I really don't have much networking experience.

and this

I'm looking to use afp and/or webdav type services.

are not compatible.

The only way you're going to implement those features is by getting source code from someone else. Writing afp support or webdav support is a hard task requiring network expertise.

If this is really your goal:

I'm only doing this to get data into my application not as a file transfer app so to speak.

then you should give up on afp and webdav and instead use one of the available examples of an embedded web server that you can download. You should be able to integrate an existing embedded web server into your app.

IMO.
 
Yeah I think you are right, I've spent so much time looking into these methods i mentioned and not really finding anything. I was just wondering how those applications I linked were created. Those developers must have had a lot more network experience.

My next idea was to make a web application to broadcast the service to import the files from. I'll need to do more research but possibly creating a apple web application with javascript and using the objective c coding similar to picture sharing on Mac OS examples. But I am not sure if you can imbed objective C coding into javascript and still run on the pc.
 
Yeah I didn't really want to be running my own web services to get user data. I wanted them to be able to create a .csv file to pull in larger quantity of data rather than creating it all on the phone.
 
ok, i apologize beforehand because this is probably and incredibly stupid question, but...

can you use a embedded web server on a closed network?(may not be the right term, by that I mean no internet access, only the computers and iphone over the same wifi network?)
 
Yes.

It works fine over WiFi. I've even used it with an ad hoc network created by a single Mac laptop.
 
Aloha,

A new book, More iPhone 3 Development is out, with information on what I think you're trying to do. The first part of the book deals with Core Data, but after that they get into networking, Bonjour, etc... It's also on the Apress website.

Thanks for the recommendation! Sounds like a good book, I'll have to order it this weekend. I have one of their other books, and they seem like very good books.
 
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.