• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Access Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Scripting


  • Subject: Re: URL Access Scripting
  • From: Eric Schult <email@hidden>
  • Date: Mon, 10 Dec 2001 14:19:51 -0600

>>> On 12/7/2001 7:43 PM, "Giuliano Gavazzi" <email@hidden> wrote:
>>> Are you saying that URL Access does NOT send the email address from the
>>> Internet control panel when you use a URL such as ftp://ftpserver.com/?
>>
>> When I use that syntax, it produces a "program error" dialog. My only
>> success has been using the full string:
>>
>> "ftp://username:email@hidden/";
>
> It shouldn't produce any error. What is the exact text in the "program
> error" dialog?
>
On OS 8.6 machines, I get: "Could not run the script because of a program
error." On 9.2, I get either the above or: "URL Access Scripting got an
error: An error of type -3162 has occurred.", or "Network file permission
error."

The errors do not occur when I add "username:password@" before
"ftpserver.com"

The boiled-down syntax I'm using follows:

property ftpServer : "ftpads.journaltimes.com"
property ftpPath : ""
property ftpString : (("ftp://"; & ftpServer & "/" & ,
ftpPath) as string)

on run
tell application "Finder"
set localFile to choose file with prompt "Choose a file to send to
the Dropbox."
end tell

tell application "URL Access Scripting"
upload localFile to ftpString replacing yes with progress
end tell
end run


  • Follow-Ups:
    • Re: URL Access Scripting
      • From: Jolly Roger <email@hidden>
References: 
 >Re: URL Access Scripting (From: Jolly Roger <email@hidden>)

  • Prev by Date: calling classic osaxen from OSX
  • Next by Date: Re: Comments Field
  • Previous by thread: Re: URL Access Scripting
  • Next by thread: Re: URL Access Scripting
  • Index(es):
    • Date
    • Thread