Take the 2-minute tour ×
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
add comment

5 Answers 5

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
add comment

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
add comment

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

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

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
add comment

Check out this site for commandline arguments for Filezilla.

share|improve this answer
    
Hello and welcome to superuser.com. 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
add comment

Your Answer

 
discard

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.