user3191479
user3191479

Reputation: 47

Open a site directly in FileZilla using the command line

I'm trying to open a site I created in FileZilla using the command line. This is what have in my .bat file:

@echo off
filezilla.exe -c "0/mysitename"
pause

I'm getting the following error. How can I fix it?

'filezilla' is not recognized as an internal or external command, operable program or batch file.

Upvotes: 0

Views: 1803

Answers (1)

Magoo
Magoo

Reputation: 80033

In order for an executable to be executed by name, the filezilla.exe file needs to be included on the path. This can be accomplished by

set path=%path%;the\directory\where\filezilla\resides

OR, you can use

the\directory\where\filezilla\resides\filezilla.exe -c "0/mysitename"

Upvotes: 2

Related Questions