RE: Scritping Fetch (3.0.3)
RE: Scritping Fetch (3.0.3)
- Subject: RE: Scritping Fetch (3.0.3)
- From: "Pitcher, George" <email@hidden>
- Date: Wed, 29 Nov 2000 13:00:12 -0000
Thanks for the help.
I'm getting there but now find difficulty in defining the file.
I will be using a variable name evantually. And, the file will becoming from
a particular drive. I seem not to be able to describe a file in the put into
... line.
George
>
-----Original Message-----
>
From: email@hidden [mailto:email@hidden]
>
Sent: 29 November 2000 11:15
>
To: email@hidden; email@hidden
>
Subject: Re: Scritping Fetch (3.0.3)
>
>
>
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
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users