URL Access Scripting Addition
URL Access Scripting Addition
- Subject: URL Access Scripting Addition
- From: Neil Appel <email@hidden>
- Date: Mon, 1 Oct 2001 09:51:43 -0700
I've been playing around with the URL Access Scripting Addition and
I've managed to have it take in variables for the user name and
password even though I haven't seen any documentation supporting
this. Officially it is a boolean "authentication" which brings up a
dialog box. This script works but it won't take you to a given
Directory.
tell application "URL Access Scripting"
upload theFile to "
ftp://" & fUserID & ":" & fPassword & "@" &
fHostName & "/" & fDirectory
end tell
My problem is that I want to start off in a different directory which
is pretty common in FTP programs. I can't seem to make it work with
an initial directory. I realize what I'm doing with the user name and
password is probably not supported so also having it start me in a
directory of my choosing is most likely wishful thinking.
My only gripe is why would Apple release a scripting addition that
does FTP but not allow the ability to "Automatically" FTP using a
user name, password and initial directory!?!
-Neil
--