FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2015-02-27 22:39

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2012-12-28 12:14 
Offline
500 Command not understood

Joined: 2012-12-28 10:59
Posts: 4
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:
"C:\Programmer\FileZilla FTP Client\filezilla.exe" -c="0/ACN"
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:
[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


Top
   
PostPosted: 2012-12-28 12:56 
Offline
Contributor
User avatar

Joined: 2006-05-01 03:28
Posts: 21096
Location: Germany
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.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
   
PostPosted: 2012-12-28 20:52 
Offline
500 Command not understood

Joined: 2012-12-28 10:59
Posts: 4
Whats Then the idea of starting it from the command promt?


Top
   
PostPosted: 2012-12-28 22:44 
Offline
Contributor
User avatar

Joined: 2006-05-01 03:28
Posts: 21096
Location: Germany
To start up with your preferred server opened, for example. The command line parameters are not for batch files, but for creating custom shortcuts.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
   
PostPosted: 2013-01-02 08:51 
Offline
500 Command not understood

Joined: 2012-12-28 10:59
Posts: 4
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?


Top
   
PostPosted: 2013-01-02 14:50 
Offline
Contributor
User avatar

Joined: 2006-05-01 03:28
Posts: 21096
Location: Germany
Yes, ultimate developer decision. Won't happen.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
   
PostPosted: 2013-01-04 13:56 
Offline
500 Command not understood

Joined: 2012-12-28 10:59
Posts: 4
OK. I understand, but why will it not happend?
Who are the developers?


Top
   
PostPosted: 2013-01-04 14:24 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 24684
First name: Tim
Last name: Kosse
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.


Top
   
PostPosted: 2013-01-20 15:56 
Offline
500 Command not understood

Joined: 2013-01-20 15:45
Posts: 1
First name: Ian
Last name: Johnston
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: gregnk, Yahoo [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited