• 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: ftp mounting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ftp mounting


  • Subject: Re: ftp mounting
  • From: David Remahl <email@hidden>
  • Date: Thu, 05 Sep 2002 01:26:41 +0200

> Is there a way using Cocoa to have an ftp volume mounted by the finder.
> I've tried NSWorkspace openURL but that just wants to download
> whatever is at the address given.
>
> TIA
>
> Mark

This AppleScript will do the trick:

tell application "Finder"
mount volume "ftp://ftp.sunet.se/pub"; 'replace with your url
end tell

Use whatever method you see fit to execute it. Either 'osascript', the new
NSAppleScript or maybe plain AppleEvents.

/ Sincerely, David Remahl
_______________________________________________
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: ftp mounting
      • From: Mark Steinberg <email@hidden>
References: 
 >ftp mounting (From: Mark Steinberg <email@hidden>)

  • Prev by Date: Re: NSDrawer and preferredEdge
  • Next by Date: Re: NSDrawer and preferredEdge
  • Previous by thread: ftp mounting
  • Next by thread: Re: ftp mounting
  • Index(es):
    • Date
    • Thread