Automating Filezilla using Applescript

Hi,

I am trying to automate the file downloading (no uploading) of FileZilla using Applescript.
I would normally go to FilZilla>File>Site Manager. Select my site (whose specs are already saved under a name in the left side of the window) and hit connect.

While trying to implement this in Applescript, I am trying 2 approaches..
1) Open the URL path "ftp://username.password/ftp.example.com/directory"
Then try to copy all sub-folders in this folder to my destination folder.
The problems I face here are:
a) The code does not work if I take a user input, but works when I put in the name of the directory directly in the URL.
b) I cannot copy the folders from the remote site to my local directory. It just opens up the ftp path and shows all the sub-folders to be downloaded.

I am trying the duplicate and copy commands. Is it that I do not have permission to carry out the copy?
When I try to manually select all folders and copy them, it copies them perfectly.

2) The second approach is to mimic the process by opening FileZilla, choosing menu File<Site Manager and then connecting.
Here, my Applescript works until opening Site Manager. From there, I am not able to figure out how to select my previously saved site from the left of the window.
I use something like
tell app "System Events"
click menu item "Site Manager" of ((process "FileZilla)'s menu.....so on



Hope my post is not confusing and kindly help.

Regards.

Mac OS X (10.4.9)

Posted on Jun 29, 2007 9:49 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Automating Filezilla using Applescript

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.