Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Learning how to use Xcode / interface builder to program in c/++ furycd001 Mac Programming 6 Sep 20, 2011 04:45 AM
Fundamental Interface Builder/views/XIB question RossOliver Mac Programming 8 Jun 7, 2008 12:47 PM
cocoa/interface builder question DJPaul Mac Programming 4 Nov 6, 2007 11:02 AM
Quick question for Interface Builder ghall Mac Programming 1 Dec 13, 2006 09:26 PM
Interface Builder Question Beej Mac Help/Tips 0 May 7, 2002 04:32 AM


All times are GMT -5. The time now is 09:36 AM.

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

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