URL Access Scripting upload

I am trying to script the upload of a file to and FTP server via the URL Access Scripting addition. My script if very simple:

tell application "URL Access Scripting"
set upFile to alias "path:to:file"
set ftpPath to "[url=ftp://user]ftp://user[/url]:pass@ftp.server.com/folder/"
upload upFile to ftpPath with replacing and progress

Whenever I run this script I get an Execution Error stating that “URLAccess Scripting got an error: Some data was the wrong type.”
If I remove “with replacing” and leave only “with progress” at the end of the “upload” command, then everything works file. I need the file to be replaced, however. Is my syntax correct? There don’t seem to be any example of replaced upload in the AppleScript Guidebook for URL Access Scripting provided by Apple. Any ideas?

Nevermind!! I’m just a moron! That line should read:
upload upFile to ftpPath replacing yes with progress
everything works now that I actually followed the directions of the addition’s dictionary!
Why’d they have to throw in a different syntax in for that option in the command when all the others work with “with”!?!
Oh, well! :wink: