• 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
Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out


  • Subject: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
  • From: revDAVE <email@hidden>
  • Date: Fri, 26 Dec 2008 11:36:01 -0800
  • Thread-topic: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out

Hi folks,


I created a script that uploads 1 zip file to an ftp folder. everything
works great with a smaller file size but times out and shows an error with
bigger files like:


Applescript error : Transmit got an error : AppleEvent timed out

now the upload continues in spite of error alert.

I thought this line would help but no....
set SuppressAppleScriptAlerts to true - hmmm?

Also

Osx 10.4.11 and transmit 3.6.7



code --------------------------------------



code stuff here - by the way....

thefile (.zip) was created ok before transmit code

more code here - then...


======


tell application "Transmit"
    set SuppressAppleScriptAlerts to true

    make new document at before front document

    tell current session of document 1



        if (connect to "ftp.mysite.com" as user "test" with password "test"
with initial path "/public_html/test") then

            if (set your stuff to "/Volumes/mydrive/test/") then

                if (set their stuff to "/public_html/ez_bu") then

                    upload item thefile


                else
                    display dialog ("An error occurred, could not change
remote folder to www")
                end if

            else
                display dialog ("An error occurred, could not change local
folder to Sites")
            end if

        end if

    end tell

end tell


--




--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
      • From: Ed Stockly <email@hidden>
  • Prev by Date: Re: do shell sounds
  • Next by Date: Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
  • Previous by thread: Re: do shell sounds
  • Next by thread: Re: Transmit Help Needed - Applescript Error : Transmit got an error : AppleEvent timed out
  • Index(es):
    • Date
    • Thread