|
|
|
Pages: [1]
|
 |
|
|
Author
|
Topic: upload Using AppleScript (Read 491 times)
|
|
melastudio
|
I've tried to use AS for upload automaticaly some files. I have alwais the file in a folder a always they must be uploaded in same foder in the same server, all the times....
I've recorded the actions with the Script Editor but when I compile and tun the script it does nothing... HYummy opens but no more actions are executed returning error 1 (named connection not found)
It should be something simple as this...
tell application "Yummy FTP" activate connect "Lomax" using connection "Lomax" list local folder "/Users/macbook/Desktop/max/JPEG" using connection "Lomax" list remote folder "/monica" using connection "Lomax" upload "*" end tell
I've a bookmark named "Lomax"
|
|
|
|
|
Logged
|
Certified FileMaker Pro 9Developer
|
|
|
|
JD
|
I am very sorry. This is caused by a bug in the 1.7.3 beta and is already fixed in a newer build which I will release shortly.
In the meantime, change the name of the Bookmark in the script to Lomax.bkmk and all should be well.
Going forward, both Lomax and Lomax.bkmk will work in the new build.
-Jason
|
|
|
|
|
Logged
|
|
|
|
|
melastudio
|
Ok! It still does not change the directory (no remote, no local) I can download a previous non beta version to avoid this? Many thanks
|
|
|
|
|
Logged
|
Certified FileMaker Pro 9Developer
|
|
|
|
JD
|
Sorry, I just double checked : only the 'connect' command requires the .bkmk but the other commands do not.
Just to be clear the connect command requires Lomax.bkmk and all the others require just Lomax
If you still have issues you could revert to the 1.7.2 release version, just download it from the Yummy Software site, however since you have used the newer beta then all your Bookmark files will have .bkmk extensions. Although they are 'invisible' they will be there and since v1.7.2 knows nothing about the extension this means you'll still have to alter your script.
For 1.7.2 you might need to make all the commands use Lomax.bkmk
|
|
|
|
|
Logged
|
|
|
|
|
melastudio
|
I've done!! 1.7.2, disabled version checking of beta release
tell application "Yummy FTP" activate connect "Lomax.bkmk" using connection "Lomax.bkmk" list local folder "/Users/macbook/Desktop/max/JPEG" using connection "Lomax.bkmk" list remote folder "/monica" with timeout of 32766 seconds using connection "Lomax.bkmk" upload "*" end timeout using connection "Lomax.bkmk" list local folder "/Users/macbook/Desktop/max/TIFF" using connection "Lomax.bkmk" list remote folder "/lomax" with timeout of 32766 seconds using connection "Lomax.bkmk" upload "*" end timeout end tell
I opened another little post for another little question... Many thanks
|
|
|
|
|
Logged
|
Certified FileMaker Pro 9Developer
|
|
|
|
JD
|
Good  Although I would recommend using the newer build if possible.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
|
|