|06-28-2012, 01:06 PM||#1|
Join Date: Jun 2012
Trouble with Transmit
I copied the Transmit sample scripts, this is really basic. However, despite tehe fact that the script runs perfectly every time, the try part is throwing me an error and I don't know why.... (the handleErrors handler sends me an email.)
Here's the handler:
with timeout of 7200 seconds
set theFileToSend to theNewFtpDest as alias
tell application "Transmit"
set myFav to item 1 of (every favorite whose name is transmitFavoriteName)
tell current tab of (make new document at end)
connect to myFav
tell local browser
change location to path backupFolder
tell remote browser
upload item at path theFileToSend
close remote browser
on error errMsg number errNum
set transmitFailure to true
set errorDescrip to "Transmit failed"
tell me to handleErrors(errorDescrip)
Thanks for any assistance, I've been looking at it too long...
|06-29-2012, 05:55 AM||#2|
Join Date: Apr 2004
Location: Cumbria, UK
I do not use Transmit so cannot provide any specific input.
However I note that you might get a better idea of what's wrong by finding the value of errMsg and errNum.
|Display Modes||Rate This Thread|