run filezilla tzsftp from batch command line

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
peter.schwennesen
500 Command not understood
Posts: 4
Joined: 2012-12-28 10:59

run filezilla tzsftp from batch command line

#1 Post by peter.schwennesen » 2012-12-28 12:14

My company policy is to use only FileZilla for FTP. I am blocked using any other ftp software.
I need to use FileZilla from within a batch file. To make the ftp transfer fully automatic.
I have defined an entry in the manager: CAN, and I can use this to make a maual ftp connection and access another ftp server.
I am able to open up the FileZilla software program from my batch file:

Code: Select all

"C:\Programmer\FileZilla FTP Client\filezilla.exe" -c="0/ACN"
[/b]But I cannot find any information about how to transfer a file from a folder on my machine to the remote FTP site with a command in the batch file or command on the call to the filezilla.exe program.
What is the syntax in the batch file for opening a connection, transfer or (or maybe more files) then close the connection again?

Code: Select all

[b]Filexilla –c=”0/CAN”
Put file.txt
Close[/b]
There are also an exe file called Fzsftp.exe can this be used? With a batch file? But what is the syntax?
Peter Schwennesen

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: run filezilla tzsftp from batch command line

#2 Post by boco » 2012-12-28 12:56

The simple answer is: FileZilla cannot make any automated transfers at all. Neither FileZilla.exe nor fzsftp.exe (is for SFTP) can be used for any batch processing.

For automated transfers you NEED another client.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

peter.schwennesen
500 Command not understood
Posts: 4
Joined: 2012-12-28 10:59

Re: run filezilla tzsftp from batch command line

#3 Post by peter.schwennesen » 2012-12-28 20:52

Whats Then the idea of starting it from the command promt?

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: run filezilla tzsftp from batch command line

#4 Post by boco » 2012-12-28 22:44

To start up with your preferred server opened, for example. The command line parameters are not for batch files, but for creating custom shortcuts.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

peter.schwennesen
500 Command not understood
Posts: 4
Joined: 2012-12-28 10:59

Re: run filezilla tzsftp from batch command line

#5 Post by peter.schwennesen » 2013-01-02 08:51

It would be nice if a extension was made to the project to also be able to run the application from the commandline.
Are there any special reasons why this has not be made?

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: run filezilla tzsftp from batch command line

#6 Post by boco » 2013-01-02 14:50

Yes, ultimate developer decision. Won't happen.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

peter.schwennesen
500 Command not understood
Posts: 4
Joined: 2012-12-28 10:59

Re: run filezilla tzsftp from batch command line

#7 Post by peter.schwennesen » 2013-01-04 13:56

OK. I understand, but why will it not happend?
Who are the developers?

User avatar
botg
Site Admin
Posts: 35538
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: run filezilla tzsftp from batch command line

#8 Post by botg » 2013-01-04 14:24

Sadly I'm the only developer.

I follow the "The right tool for the right task" philosophy. While you could hammer a screw into the wall with much effort, using a nail would be much easier. That's why a GUI FTP client should be used interactively and automated batch tasks should be left to dedicated command-line clients.

Ideally I would also write a command-line client at some point, but alas I don't have enough time.

IanJ
500 Command not understood
Posts: 1
Joined: 2013-01-20 15:45
First name: Ian
Last name: Johnston

Re: run filezilla tzsftp from batch command line

#9 Post by IanJ » 2013-01-20 15:56

botg wrote:Sadly I'm the only developer.

I follow the "The right tool for the right task" philosophy. While you could hammer a screw into the wall with much effort, using a nail would be much easier. That's why a GUI FTP client should be used interactively and automated batch tasks should be left to dedicated command-line clients.

Ideally I would also write a command-line client at some point, but alas I don't have enough time.
Sad to hear that you are the only developer, and equally sad to read your philosophy!

I have used FileZilla for years and now have an additional need automate the the FTP of some data to my home server on a nightly basis. I see that Filezilla supports a certain amount of command line options but dismayed that it doesn't go that small extra amount to allow me to specify a file or folder I'd like to transfer.
At it's very simplest just add the facility to specify a file or folder, the direction and overwrite y or n etc.

Please can you look at this.

Ian.

Post Reply