Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a batch file that builds an application, then I want to upload it to a ftp server from command line.

Considering I do the upload manually with FileZilla, is there a command line for it to upload files?

I am limited to Windows.

share|improve this question

6 Answers 6

up vote 8 down vote accepted

FileZilla does not have any command line arguments (nor any other way) that allow automatic transfer. See:

Though you can use any other FTP client that allows automation.

For example WinSCP:

A typical WinSCP script (script.txt) for upload looks like:

put c:\files\*.* /home/user/

To run the script use: /log=ftp.log /script=script.txt

(I'm the author of WinSCP)

share|improve this answer

Check out this site for commandline arguments for Filezilla.

share|improve this answer
Hello and welcome to It is customary to include the answer in the post itself instead of or in addition to refering to sites so that the answer is still valid if the site referred to goes down. Rewrite your answer to include this and I will remove my -1. – Mogget Nov 14 '13 at 20:02

You should be able to use a FTP command line program such as PSFTP. Please note PSFTP does not use passv mode and therefore requires a Data connection for LAN FTP

share|improve this answer

FileZilla clients supports for command-line interface (CLI). These are the command-line arguments for FileZilla Client:

How to transfer files with FileZilla from command line?

share|improve this answer
I have just installed filezilla on ubuntu but when I try to either show the version or help I just get: ~$ filezilla -h Error: Unable to initialize gtk, is DISPLAY set properly? Why does the commandline client require a DISPLAY ? – u123 Jan 2 '13 at 10:23

You can use Window's built-in FTP client to do this. You don't need Filezilla.

open *computer_name*
send *local_file* {remote file}
share|improve this answer

There is no command line for Filezilla to upload files - but you can use ftp (man ftp) or possibly curl (man curl) generally using a SSH connection.

On Linux you have much more access to options than on windows, but you could install cygwin to make Windows better.

Hope this helps, learning the command line is very time-saving - there are things you can do with it that would take ages using a gui.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.