Question

How to use FileZilla via console?

I was reading a tutorial on FileZilla where it was mentioned that “On Debian-based Linux distributions, like Ubuntu, you can alternatively install FileZilla using the APT package manager:”

I used the command sudo apt-get install filezilla. It appears that it was installed, so how do I use it now?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
April 4, 2022

Hi @aecsp2000,

what Bobby has written is perfectly valid, let me just add some suggestions. You can also use the commands rsync and scp. They are even faster than FileZilla and have a lot of options you can explore on them.

Bobby Iliev
Site Moderator
Site Moderator badge
April 3, 2022

Hello,

I personally haven’t used Filezilla via the command line, I think that they offer a CLI version but I think that it is possible to be only available with their Pro plans:

https://filezillapro.com/docs/v3/filezilla-pro-cli/installing-filezilla-pro-command-line/

What you could do instead is to use wget to transfer files over FTP via your terminal directly:

  • Access the directory where you would like to download your files to using the cd command

  • Then initiate the transfer:

wget -mbr --user="FTP_USER@example.com" --password="YOUR_PASSWORD" "ftp://ftp.example.com/PATH_TO/YOUR_FILES/*"

The arguments:

  • -m - This option turns on recursion and time-stamping, sets infinite recursion depth and keeps FTP directory listings.
  • -b - Go to background immediately after startup. If no output file is specified via the -o, output is redirected to wget-log.
  • -r - Recursively

For more information you can check the answer here:

https://www.digitalocean.com/community/questions/how-to-recursively-copy-files-from-one-server-to-another-via-ftp-from-the-command-line

Hope that this helps!

Best,

Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.