• 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
URL Access script to a remote volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URL Access script to a remote volume


  • Subject: URL Access script to a remote volume
  • From: John Cochrane <email@hidden>
  • Date: Wed, 8 Nov 2006 21:42:09 +1100

Hi scripters

I have been trying out URL Access Scripting to upload file to a remote volume using

set
theURL to "ftp://" & theUserName & ":" & thepassword & "@" & "computerName.local" & "/" & theDirectory
upload this_file to theURL

This works fine for uploading to theUserName's home directory on the remote computer but I cannot figure out how to upload to the Applications folder which is what I would like to do.
i.e. the script will work for theDirectory of "Documents/" which is in the home folder but not for "Applications/" at the root level.
Am I missing something simple or it just not designed to work that way?

I have noticed in the past that there has been criticism of URL Access Scripting and various curl scripts seem to be preferred. Can anyone give me reasons for this?

John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: URL Access script to a remote volume
      • From: Emmanuel <email@hidden>
    • Re: URL Access script to a remote volume
      • From: Axel Luttgens <email@hidden>
    • Re: URL Access script to a remote volume
      • From: Tim Mansour <email@hidden>
  • Prev by Date: Toast
  • Next by Date: Re: URL Access script to a remote volume
  • Previous by thread: Re: Toast
  • Next by thread: Re: URL Access script to a remote volume
  • Index(es):
    • Date
    • Thread