• 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: Christian Vinaa <email@hidden>
  • Date: Mon, 14 Feb 2005 21:30:34 +0100

At 20:30 +0100 14/02/2005, Emmanuel wrote:
At 11:16 AM -0800 2/14/05, Ed Rush wrote:
do shell script ("curl " & this_URL & " -o " & POSIX path of (((path to desktop) as string) & "PuzzlesToDo:" & myFileName))

I get this error:

If your folder's name is really "PuzzlesToDo", then I don't know.

Otherwise, I would trying adding "quoted form of " before "POSIX path".

Emmanuel


just tried it out;   IT WORKS !  with the add-on from Emmanuel

actually this is a kind of script that I have been looking for for years !

and now i just appears !

i have a question:

do shell script ("curl " & this_URL & " -o " & POSIX path of (((path to desktop) as string) & "PuzzlesToDo:" & myFileName))

the" do shell script" and curl and this_url and even -o I kinda understand

and also the reasoning behind the POISX and path stuff

but

where is the syntax for what in reality is:

do shell script ( "name of instruction" & theUrl & where_to_put_file & path_to_desktop & folder_on_desktop & fileName )

is the order of the parts between the & &'s  purely logical ?

first instruction
then the url that the instruction shall get
then where to put what is 'gotten'
then the path
then the folder and
last the file

what if logic is not that simple  :-)))



--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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


  • Follow-Ups:
    • Re: downloading a file into a folder
      • From: Rob Stott <email@hidden>
References: 
 >downloading a file into a folder (From: Ed Rush <email@hidden>)
 >Re: downloading a file into a folder (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: [BULK] - Re: Match CMYK doesn't work.
  • Next by Date: Re: Slightly OT: InDesign cells/tables
  • Previous by thread: Re: downloading a file into a folder
  • Next by thread: Re: downloading a file into a folder
  • Index(es):
    • Date
    • Thread