RE: (no subject)
RE: (no subject)
- Subject: RE: (no subject)
- From: "Wadson, David" <email@hidden>
- Date: Mon, 22 Jul 2002 12:18:10 -0400
The object you are trying to download is a directory (as denoted by the
trailing "/" at the end of the URL. But you're specifying that you want to
download that directory to a "file" - "test3.html". If you want to download
a whole directory, you need to specify a folder to download to, and add
"with directory" to the download command.
The AppleScript Guidebook module for URL Access Scripting is an essential
read. It has excellent examples of the syntax to use...
>
----------
>
From: Zimba
>
Sent: Monday, July 22, 2002 11:50 AM
>
To: email@hidden
>
Subject: (no subject)
>
>
Gosh I need help!
>
>
Url Access Scripting is getting me nuts... been working for worthless
>
hours trying to get this simple code to work... and I just can't get
>
a connection to the server without any errors, tried the few versions
>
of code (with autheticating, other syntax and others) and ... I'm
>
turning nuts!
>
>
Thanks so much for any help...
>
>
>
>
ZImba
>
Webmaster
>
>
tell application "URL Access Scripting"
>
>
download
>
"ftp://maisonpop.com:email@hidden/ateliers/cybercorbeille/"
>
to ,
>
file "Saves:test3.html" replacing yes with progress
>
end tell
>
--
>
_______________________________________________
>
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.
_______________________________________________
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.