FTP Connection Framework

Discussion in 'iOS Programming' started by Garrett, Aug 14, 2008.

  1. Garrett macrumors regular

    Joined:
    Apr 4, 2007
    #1
    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:
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  3. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #3
    Yes, but I downloaded the SVN and it won't run :( is there a way to compile a framework?
     
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    Frameworks aren't allowed on the iPhone. You'd have to add all the files into your project.
     
  5. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #5
    How would I go about doing that? He has all these build phases in his sample application. :(
     
  6. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #6
    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
     
  7. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #7
    So there is no way at all to implement FTP into the iPhone? :(
     
  8. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #8
    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 :).
     
  9. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #9
  10. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #10
  11. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #11
    Is there no way to do it with a NS class? :)
     
  12. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #12
    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).
     
  13. lucasgladding macrumors 6502

    Joined:
    Feb 16, 2007
    Location:
    Waterloo, Ontario
    #13
    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.
     
  14. ashish.pandita macrumors newbie

    Joined:
    Aug 20, 2008
    #14
    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
     

    Attached Files:

Share This Page