Using Filezilla from the Windows command line

0

Good afternoon, I'm trying to upload a compressed file to a ftp directory via the command line. I have managed to access filezilla and place myself in the directory where the content is to be uploaded, but I have not been able to find the option to upload to ftp.

I enclose the fragment that does this:

  

cd C: \ Program Files \ FileZilla FTP Client filezilla    ftp: // address @ password --local C: \ Local route \ exit

I appreciate the help in advance. Greetings.

    
asked by AntonioMP87 28.06.2017 в 17:59
source

1 answer

2

Translation of the best answer on superuser.com

Fillezilla does not have parameters for uploading files by command line:

Fillezilla Command line arguments (Client)

You can use another FTP client that allows automation such as WinSCP: link

A typical script to upload files is as follows (script.txt):


open ftp://user:[email protected]/
put c:\files\*.* /home/user/
exit

To run the script:


WinSCP.com /ini=nul /log=ftp.log /script=script.txt

WinSCP 5.9 and higher can generate a script from a session imported from FileZilla .

For details see the Filezilla automation guide

    
answered by 11.07.2017 в 22:15