Report this

What is the reason for this report?

How to use FileZilla via console?

Posted on April 3, 2022

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?



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!

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.

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

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.