• 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: downloading a file into a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: downloading a file into a folder


  • Subject: Re: downloading a file into a folder
  • From: Rob Stott <email@hidden>
  • Date: Mon, 14 Feb 2005 19:37:56 +0000


On 14 Feb 2005, at 19:16, Ed Rush wrote:

shows the correct path, with slashes. However, when I put the folder into the shell command, like this:
<x-tad-smaller>
do shell script</x-tad-smaller>
<x-tad-smaller> ("curl " & </x-tad-smaller><x-tad-smaller>this_URL</x-tad-smaller><x-tad-smaller> & " -o " & </x-tad-smaller><x-tad-smaller>POSIX path</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>of</x-tad-smaller><x-tad-smaller> (((</x-tad-smaller><x-tad-smaller>path to</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>desktop</x-tad-smaller><x-tad-smaller>) </x-tad-smaller><x-tad-smaller>as</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>string</x-tad-smaller><x-tad-smaller>) & "PuzzlesToDo:" & </x-tad-smaller><x-tad-smaller>myFileName</x-tad-smaller><x-tad-smaller>))
</x-tad-smaller>

I get this error:

Probably the colon on the end of your folder name - a POSIX path uses slashes, not colons.

Hope that helps
r.

---

Rob Stott
- Development Team, Trident UK
Connaught Road, Kingswood, East Yorkshire HU7 3AP

My work: http://www.apple.com/uk/creative/trident/
My band: http://www.superscapemusic.co.uk

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >downloading a file into a folder (From: Ed Rush <email@hidden>)

  • Prev by Date: Re: downloading a file into a folder
  • Next by Date: Re: downloading a file into a folder
  • Previous by thread: Re: downloading a file into a folder (still)
  • Next by thread: Re: downloading a file into a folder
  • Index(es):
    • Date
    • Thread