Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Internet enabled apps

Internet enabled apps
Thread Tools
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status: Offline
Reply With Quote
Feb 12, 2004, 12:03 PM
 
Hi,

I'm new to programming on the Mac, so I would appreciate any help that anyone is willing to provide.

I wanted to know how easy it is to create a simple (tutorial) application that uses NNTP or FTP protocols, using XCode?

I have done development of Windoze based apps using Delphi and Visual Basic; and they had VCL/OCX components that provided the needed protocols, without me having to roll one for the application. Does it work the same in XCode or I am stuck with rolling my own components for the NNTP and/or FTP protocols.

Also, if anyone can point to a site or book that would take a newbie developer on the Mac, step by step, in creating applications.

Thanks.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Feb 12, 2004, 01:16 PM
 
For FTP, I don't believe there is a standard library. Lots of people use CURLHandle though, which is a wrapper for curl (a command line tool included with OSX). You can get it here:

http://curlhandle.sourceforge.net/

There are a lot of other Cocoa networking frameworks that do ftp, nntp, and others. Look here for some samples:

http://www.cocoadev.com/index.pl?ObjectLibrary

Some of those are not free though.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Feb 14, 2004, 04:49 AM
 
There's CFFTPStream as of 10.3 (see CFNetwork, part of CoreServices)
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Feb 14, 2004, 04:17 PM
 
IIRC, the Foundation NSURL loading APIs (available in 10.2.x with Safari installed, or 10.3 or newer) also support FTP, so you've go quite a variety of approaches to choose from based on how much detailed control over FTP connections you want.

I'm pretty sure there's no built-in NNTP implementation on OS X, though.
Rick Roe
icons.cx | weblog
     
insha  (op)
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status: Offline
Reply With Quote
Feb 22, 2004, 10:22 AM
 
Thanks for all the help.

I was more interested in cocoa classes relating to NNTP protocol. I just wanted to create a simple USENET reader as an exercise in getting use to network application development using cocoa. As my goals are to eventually incorporating Rendezvous in my applications.
     
Junior Member
Join Date: Sep 2003
Location: Nowhere, Missouri
Status: Offline
Reply With Quote
Feb 22, 2004, 09:13 PM
 
There are 3 good Rendezvous tutorials on this page. As for FTP, I would like to know too. I just downloaded CURLHandle and am checking it out now.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:59 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2