i am building a bash script that will open filezilla. I managed to make it to open a certain FTP, but cant figure out how to make it to open a certain local directory.
You have 2 options:
The tricky bit has to do with the first option (using the site manager). The syntax is not very intuitive. You need to both specify the path to the site name and prefix the whole thing with a 0.
So, a website named "mysite" that you created in the Site Manager under My Sites\Hosting will be called as this:
You start by typing '0', then introduce the path to the site as seen on the site manager and ignoring the "My Sites" folder, and finish with the site name. You enclose everything under double quotes.
As for Local Paths...
Unfortunately this is not possible. Filezilla wasn't meant to be used for automated transfers (see official stance, last December, 2008. 2nd Reply). Thus command line options are limited to what you can see through
However there's an old feature request on Filezilla Trac's that was deemed an official answer indicating plans to create a command line client sometime after version 3. I do not know if this is being done or not, if it was abandoned or not. I do suggest you try the filezilla official forums. My guess is due to lack of requests, the idea was dropped.
I managed to solve it by writing the filezilla config file that contains the last opened local directory before open it. In ubuntu its located here :
the config name is :