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

Garrett

macrumors regular
Original poster
Most frameworks I have tried to use have failed on me, would it be best to use CFNetwork? Or do you guys know of a framework that simply, downloads directory listings, uploads text, and downloads text/images?

Thanks,
Garrett :apple:
 
I think CFNetworking is cumbersome for this (personally), is there a more Cocoa like way of doing it? I can't find any starting tutorials on connecting to a FTP server. 🙁

Thanks,
Garrett
 
So there is no way at all to implement FTP into the iPhone? 🙁

CFNetwork would be the best bet from what I have read. I think there might be some FTP specific functions in it as well to make it a bit easier.

But if all else fails you can always do it yourself 🙂.
 
Is there no way to do it with a NS class? 🙂

Not that I can see from looking through the documentation. Really though that looks like a perfectly adequate C API to me. Just be thankful you're not doing it with raw BSD sockets by hand (and no library code).
 
Is anyone interested in working together on something light for document backup and restore on the iPhone? From my reading on CFNetwork, it looks like reading and writing to a server specified in Settings would not be too difficult. Most of my experience involves Cocoa, but I have worked quite a bit with Core Graphics, so CFNetwork should be the natural next step 😉.

I can see something like this being the Sparkle for the iPhone. The greatest thing about CFNetwork is that it is available on the phone already, yet is shared with the Mac so the NDA should not be a problem.
 
Ftp connection using connection kit in TestConnection app

Hi🙂 every body,

I have gone your recent post that help me to download the connection kit and I got one test connection app downloaded. I put the connection kit framework in that. But I am getting the error in log as :220 Microsoft FTP Service
FEAT
530 Please login with USER and PASS.
QUIT
USER MDS_CONNECT
221

Can any body help me what is the wrong I am doing. I am beginner and just started learning the cocoa one month before. I will be thankful to you.
Attached is the application. Please look into the app.
Any body can contact to me through my E-Mail: ashishkumarpandita@gmail.com
 

Attachments

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.