Re: URL Access Scripting
Re: URL Access Scripting
- Subject: Re: URL Access Scripting
- From: Eric Schult <email@hidden>
- Date: Tue, 11 Dec 2001 08:26:35 -0600
on 12/10/01 3:59 PM, Jolly Roger at email@hidden wrote:
>
set ftpURL to "ftp://tjt:email@hidden/"
>
>
set localFile to choose file
>
tell application "URL Access Scripting"
>
upload localFile to ftpURL replacing yes with progress
>
end tell
The above script gave me a permission error, even though you're right, the
ftp string does work from inside an ftp client. I checked using Anarchie.
Somebody early on suggested I try URL-encoding the "@" as "@" in the
string, like so:
set ftpURL to "
ftp://tjt:email@hidden@ftpads.journaltimes.com/"
... but that didn't work either. I guess I'm stuck, at least as far as
scripting it with "URL Access". I can do it with Anarchie with my eyes
closed, but I was trying to devise a droplet that I could send out to
customers who don't have an ftp client.
Thanks for all the help, though. I learned a lot in the process.
WES