URL Access 2.3 sucks
URL Access 2.3 sucks
- Subject: URL Access 2.3 sucks
- From: JollyRoger <email@hidden>
- Date: Thu, 14 Feb 2002 19:38:46 -0600
Setup:
G4 500
Mac OS 9.1
CarbonLib 1.4
AppleScript 1.6
URL Access 2.3
URL Access Scripting addition 2.2.1
-- begin script
property pFTPData : {FTPusername:"username", FTPpassword:"password",
FTPhost:"ftp.something.com", FTPpath:"/home/something/www/test/",
FTPfilename:"index.html"}
set filePath to ((the path to the startup disk) as text) & "Desktop
Folder:test.html"
set myURL to "
ftp://" & (pFTPData's FTPusername) & ":" & ,
(pFTPData's FTPpassword) & "@" & (pFTPData's FTPhost) & ,
"/" & (pFTPData's FTPpath) & (pFTPData's FTPfilename)
tell application "URL Access Scripting"
set uploaded to upload filePath to myURL replacing yes without binhexing
quit
end tell
-- end script
When I run this script, I always get (after a frustrating wait while the
entire computer becomes unresponsive) an "AppleEvent timed out." error.
After an hour and a half of diagnosis, trying to figure out where the damned
thing was failing, and making sure it wasn't something *I* was doing wrong,
I decided to try installing an older version of URL Access. And what do you
know - if I remove the URL Access version 2.3 extension, replace it with a
URL Access version 2.2.1 extension, and restart, the script works perfectly.
<rant>
More often lately, I find myself making the mistake of trusting Apple to
test their software before releasing it. What's more irritating is to hear
the blind-Apple-faithful talk to me like it's MY fault for not knowing the
software wouldn't work, or expecting it to work correctly in the first
place.
I find it very hard to believe that Apple performed any QA tests on URL
Access 2.3, given that there are only TWO commands in the scripting addition
to test (upload and download)! How hard can it be?! Run two scripts,
verify that the file was uploaded/downloaded correctly, Done!
Before anyone suggests that I report this bug to Apple: I think it's absurd
that Apple expects its customers to do what their own Quality Assurance
employees *should* be doing anyway. After all, Apple doesn't pay its
customers to QA; so why should we test their software for them?!
</rant>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.