Re: Fetch problem...
Re: Fetch problem...
- Subject: Re: Fetch problem...
- From: Jim Matthews <email@hidden>
- Date: Mon, 20 Mar 2006 15:13:45 -0500
At 2:13 PM -0700 3/19/06, David Crowe wrote:
When I script "Fetch" with the "put into anyURL item anyFile" it does
not work if Fetch doesn't have a window open.
There does not need to be a window open.
I get the error "FTP connection to "ftp.myurl.com" could not be
opened because the server rejected the password.
That suggests that your URL contains an incorrect password. For
example, the URL
ftp://myusername@myhostname/
implies a blank password (which probably is not what you want). To
include a non-blank password in the URL you would say
ftp://myusername:mypassword@myhostname/
To have Fetch look for the password in the keychain you'd say
ftp://myusername:@myhostname/
If I go to Fetch and manually open a window to that domain it then
works without any problem.
In that case it ignores the password in the URL, since you're already
connected.
I don't see any command in Fetch to merely open a connection to a
server
Besides "make new transfer window" you can also say
open url "ftp://myusername:@myhostname/"
Thanks,
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
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