• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Basic FTP and .Mac support for a Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic FTP and .Mac support for a Cocoa app


  • Subject: Re: Basic FTP and .Mac support for a Cocoa app
  • From: Evan Jones <email@hidden>
  • Date: Tue, 3 Dec 2002 08:33:12 +0100

On Sunday, Dec 1, 2002, at 17:56 Europe/Zurich, Jan Van Boghout wrote:
Basically what I would like to do is similar to the publish & subscribe feature found in iCal. You upload a file that holds information, and others can subscribe to that file, thus getting the latest info.

Anyway, does anyone have experience with using FTP and/or WebDAV?

I was digging around to try and figure out what iCal was doing. It is astonishing to me that Apple hasn't made a public FTP/WebDAV API. Here are some ideas I came up with, but I have tested none of them yet:

- One obvious work around is that Mac OS X can mount FTP and WebDAV servers as disks. Therefore, one easy way to do a network copy would be to mount the server, do a normal filesystem copy and then unmount the server.

- However, I did a bit of investigation using RuntimeBrowser (http://www.prajnait.com/source/RuntimeBrowser.html) and turned up some interesting private ObjectiveC APIs. The interesting one is /System/Library/PrivateFrameworks/DAVAccess. It contains a class called DAVAccess, which seems to provide an ObjectiveC wrapper around everything you would need for WebDAV.


If you figure anything more out, I would love to hear about it.


Evan Jones

--
Evan Jones: http://www.eng.uwaterloo.ca/~ejones/
"Computers are useless. They can only give answers" - Pablo Picasso
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Basic FTP and .Mac support for a Cocoa app
      • From: Daniel Jalkut <email@hidden>
References: 
 >Basic FTP and .Mac support for a Cocoa app (From: Jan Van Boghout <email@hidden>)

  • Prev by Date: Re: Optimizing NSView Performance
  • Next by Date: Re: Permissions question
  • Previous by thread: Basic FTP and .Mac support for a Cocoa app
  • Next by thread: Re: Basic FTP and .Mac support for a Cocoa app
  • Index(es):
    • Date
    • Thread