• 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: iDisk access, WebDAV tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iDisk access, WebDAV tools


  • Subject: Re: iDisk access, WebDAV tools
  • From: Jeffrey Mattox <email@hidden>
  • Date: Wed, 3 Dec 2003 04:08:28 -0600

At 11:38 PM -0600 11/20/03, John C. Welch wrote:
On 11/20/03 8:45 PM, "Jeffrey Mattox" <email@hidden> wrote:

I understand that I have to stop using AFP. Is there a better way to
implement the above to get access to an iDisk?

Are there any tools/frameworks/etc. to facilitate using WebDAV with
AppleScript?


Use an HTTP url with mount volume.

And you really shouldn't embed userids and passwords in the script like that

john
--


Using "http:..." instead of "afp:..." works for reading files, but apparently not writing files. After mounting the iDisk thusly:

set iDisk to "http://idiskName:password"@idisk.mac.com/idiskName
mount volume iDisk

I'm using this form:

open for access file theFilePath with write permission
write outText to theFileRef

and I get this error:

File not open with write permission.

How do I open the iDisk for writing?

By the way, the script snippet I provided is a simplified version of the actual code. The user name and password are not compiled into the script -- I'm getting those from the keychain at run time.


Jeff
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Mounting remote folder question
  • Next by Date: Re: Quark 6 Font Mess
  • Previous by thread: Re: How do I use Finder & find documentation?
  • Next by thread: Sort in Finder
  • Index(es):
    • Date
    • Thread