Re: Scritping Fetch (3.0.3)
Re: Scritping Fetch (3.0.3)
- Subject: Re: Scritping Fetch (3.0.3)
- From: email@hidden
- Date: Wed, 29 Nov 2000 06:14:42 EST
In a message dated 11/29/00 04:45:05, email@hidden writes:
>
Hi all,
>
>
>
>
I'm trying to script Fetch to upload some zip files to my NT server.
>
>
>
>
I am using the following:
>
>
>
>
set theURL to "userid:password@ipaddress/directory/subdirectory/"
>
>
tell application "Fetch 3.0.3"
>
>
put into url theURL item "test.zip"
>
>
end tell
>
>
>
>
The passworded ftp site is accessible using Fetch normally or via a web
>
>
browser. However, when I run the script, I get the following message:
>
>
>
>
Fetch 3.0.3 got an error: Can't get URL
>
>
"userid:password@ipaddress/directory/subdirectory/"
>
>
>
>
Any ideas as to where I'm going wrong?
tell application "Fetch 3.0.3"
make new transfer window at beginning with properties
{hostname:"ftp.fortunecity.com", userid:"WRATH8", password:":)"}
open remote directory "sounz" of window "ftp.fortunecity.com"
put into remote directory "sounz" of window "ftp.fortunecity.com" item alias
the_file
end tell