Re: URL Access Scripting
Re: URL Access Scripting
- Subject: Re: URL Access Scripting
- From: Emmanuel <email@hidden>
- Date: Mon, 15 May 2006 22:43:44 +0200
At 3:15 PM -0500 5/15/06, Kevin Bradley wrote:
URL Access Scripting got an error: Some parameter is missing for upload.
[...]
set myURL to choose URL showing FTP Servers with editable URL
[...]
upload myFile replacing yes with authentication
At first sight, you're not specifying *where* you are uploading to,
your variable "myURL" is quietly sleeping in AppleScript's memories
while "upload" is in need of it.
Unsolicited advice: do not use URL Access Scripting. Use "curl"
instead, it's way more reliable. I use the following form to display
the stats, but you can chop out the end of the command.
do shell script "curl -T " & theXPath & " " & theRemotePath & " -w
'%{size_upload} bytes at %{speed_upload} bytes/s'"
theXPath is the [quoted form of the] posix path of the file to upload.
theRemotePath is your ftp://username:email@hidden/path/to/file
The directory must exist.
Emmanuel
_______________________________________________
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