Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 11, 2007, 03:28 PM   #1
menziep
macrumors 6502a
 
Join Date: Jan 2006
Interface Builder Question?

How can i set up my application to read and write ftp files, like you can a view site in WebView
menziep is offline   0 Reply With Quote
Old Jan 11, 2007, 03:33 PM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
You can't do this in IB. You need to write an FTP client.
robbieduncan is offline   0 Reply With Quote
Old Jan 11, 2007, 03:56 PM   #3
menziep
Thread Starter
macrumors 6502a
 
Join Date: Jan 2006
Quote:
Originally Posted by robbieduncan View Post
You can't do this in IB. You need to write an FTP client.
Thanks, is there anywhere i can get the code, for a simple ftp client.
menziep is offline   0 Reply With Quote
Old Jan 11, 2007, 03:58 PM   #4
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
I wrote my own FTP client code at one point. It's horrible. I'd do a Google search and see if anyones written any open source FTP objects.
robbieduncan is offline   0 Reply With Quote
Old Jan 11, 2007, 09:10 PM   #5
MongoTheGeek
macrumors 68040
 
MongoTheGeek's Avatar
 
Join Date: Sep 2003
Location: Its not so much where you are as when you are.
Send a message via MSN to MongoTheGeek Send a message via Yahoo to MongoTheGeek
CURL is good. Released under the LGPL so you can use it in commercial products without opening the entire source. Its stable and powerful. I seem to remember seeing a cocoa wrapper for it somewhere. Maybe source forge.
__________________
The future ain't what it used to be.
MongoTheGeek is offline   0 Reply With Quote
Old Jan 12, 2007, 02:31 AM   #6
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
There 's an open source third party bit of code called the connection framework that does a ton of stuff - but it's hardly newbie territory

http://opensource.utr-software.com/connection/
caveman_uk is offline   0 Reply With Quote
Old Jan 12, 2007, 03:45 AM   #7
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Quote:
Originally Posted by caveman_uk View Post
There 's an open source third party bit of code called the connection framework that does a ton of stuff - but it's hardly newbie territory

http://opensource.utr-software.com/connection/
That looks like a pretty cool piece of code. The interface they expose is quite similar to the internal one I had for doing FTP (I was writing a tool to sync two directories). The issue I had was parsing the return of an ls command as different servers use different formats!
robbieduncan is offline   0 Reply With Quote
Old Jan 12, 2007, 04:33 AM   #8
Grover
macrumors member
 
Join Date: May 2004
You may want to take a look at the OmniGroup's Omni Web Framework: http://www.omnigroup.com/developer/sourcecode/.
Grover is offline   0 Reply With Quote
Old Jan 12, 2007, 09:42 AM   #9
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
Quote:
Originally Posted by robbieduncan View Post
That looks like a pretty cool piece of code.
Apparently Sandvox uses it.
caveman_uk is offline   0 Reply With Quote
Old Jan 12, 2007, 10:01 AM   #10
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
I remembered that the FTP stuff I wrote was from an older iteration. I ended up using some code called FTPConnection. It used to be available here and was written by Greg Hulands. iirc I fixed a couple of minor bugs I had found.

Once I get home I will post zip of that code as it worked pretty well and was small and easy to understand...

Edit: actually I won't bother. He's one of the contributors to Connection Kit and FTPConnection is in there
robbieduncan is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Interface Builder WTF. SolarShane Mac Programming 2 Mar 12, 2014 02:38 AM
Pashua gui tool interface elements anything similar in xcode interface builder wild4life2013 Mac Programming 1 Aug 10, 2013 08:13 PM
OpenGL ES without interface builder? blueshogun96 iPhone/iPad Programming 1 Feb 10, 2013 01:04 PM
Im having a bit of an issue with interface builder adildacoolset iPhone/iPad Programming 5 Oct 12, 2012 12:51 PM
Interface Builder Crashes Every Time wickerman1893 iPhone/iPad Programming 5 Jun 29, 2012 06:57 AM

Forum Jump

All times are GMT -5. The time now is 07:06 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC