Download File?

Sjoerd Op 't Land sjoerdoptland at mac.com
Tue Mar 12 02:07:01 EST 2002


Josh Dye wrote/ schreef:

> Hello,
> I was wondering if there is a way so a program will download a file, and
> put it to a certian location? I need to have it download a file, and put it
> to like, the C: drive or something of that sort. It should download it from
> a website... So, anything would be nice. Thanks!

  set itemDel to "/"
  ask "What url?" with "http://www.metacard.com/stacks/echo.mt"
  put it into wwwUrl
  ask file "Where to put it?" with item -1 of wwwUrl
  put it into fileUrl
  put url it into url ("file:" & fileUrl)

> - Josh Dye
Regards, / Groeten,
Sjoerd




More information about the use-livecode mailing list