Page 1 of 1

Connect Automatically to Remote Site

Posted: 2015-08-21 17:22
by dld@law.pace.edu
I am new to this forum, so forgive me if this question has been asked and answered. I searched but was unsuccessful.
I am using the current version of FileZilla on a Windows 7 box. I always want to go to the same remote site automatically upon opening the program, but I cannot seem to get the syntax correct. As I understand it from the wiki, the syntax is: filezilla --site="0/MyServer. It's the MyServer part I am stuck on. The web site itself is "http://lawweb.pace.edu/dld/". The remote directory that I use in FileZilla is "/dld". That directory is actually a subdirectory of "/lawschool", but FileZilla will connect properly from within the program with either designation.
I have tried all sorts of variations (except the right one, obviously), such as the following:

https://lawweb.pace.edu/dld
https://lawweb.pace.edu/lawschool/dld
Both of the above without the introductory https
/dld
/lawschool
/lawschool/dld

For all of these I get the error message: "The site does not exist." I suspect there is a simple answer for this problem; the difficulty is that I am simpler than the answer is. If anyone can offer something, I will be most grateful. Thanks for your time.

Re: Connect Automatically to Remote Site

Posted: 2015-08-21 21:03
by boco
The "MyServer" string refers to the name of the Site Manager entry you have to create first. But you can also simply specify the raw URL on the command line, without the "--site=" string.

Please be aware that FileZilla can connect only to FTP (ftp:// or ftpes:// or ftps://) and SFTP (sftp://) servers. HTTPS cannot be used.

Re: Connect Automatically to Remote Site

Posted: 2020-10-08 10:09
by nickhope
I also have this issue. I have read a number of threads about it on these forums but still can't get it working.

I have a site named "fplform.com" in "My Sites". It's not in a subfolder. The host is ftp.bubblevision.com. fplform.com is an "addon" site in bubblevision.com/public_html/. The default remote directory for "fplform.com" is /public_html/fplform.com.

I have tried many variations in the command line and in my shortcut but I always get the message "Site does not exist", often with "Site path has to begin with 0 or 1". Here are few of the command lines I have tried:

"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" -c --site="0/fplform.com"
"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" -c --site="0/ftp.bubblevision.com"
"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" --site="0/ftp.bubblevision.com"
"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" --site="ftp.bubblevision.com"
"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" "ftp.bubblevision.com"
etc..

Why don't any of these work? What else can I try?

Re: Connect Automatically to Remote Site

Posted: 2020-10-08 10:20
by nickhope
Never mind. As soon as I had registered and posted, it suddenly sprung to life and started working with this line:

"C:\Program Files (x86)\FileZilla FTP Client\filezilla.exe" -c --site="0/fplform.com"

Re: Connect Automatically to Remote Site

Posted: 2023-01-28 13:39
by Supernuija
This seems to have changed again year 2023, just installed the latest copy of basic Filezilla for WIndows 10.
The instructions on this page are a bit misleading: https://wiki.filezilla-project.org/Comm ... s_(Client)

When you want to make a simple shortcut to specific site and specific directory on that site for windows it must be done simply like this:
  • Create a Site in Filezilla -- Site Manager -- and name it -- example.com -- and if you want always to open some specific directory on that site, select -- Advanced > Default remote directory > pathToYourDirectory
  • In your Windows desktop shortcut, change target of the shortcut to this format

Code: Select all

"C:\Program Files\FileZilla FTP Client\filezilla.exe" --site="0/example.com"
Note! If you use command line argument specified in the official instructions with a " -c " parameter, you will only get error -- Site does not exist. --
and above that some nonsense message telling that-- -Site path has to begin with 0 or 1 .

I hope this will help everyone who has been struggling with the same issue!