Filezilla Command Line Examples

Posted onby admin
  1. Fzsftp Command Line Example
  2. Filezilla Client Command Line Script Examples
  3. Filezilla Command Line Examples Windows
  4. Filezilla Client Command Line
  5. Filezilla Command Line Examples Free

FileZilla Server: Plugin Design Basic Configuration Implicit SSL part 1 Implicit SSL part 2 Portable FileZilla FTPd Download and support

  • 2Quick Test
Uniform Server 3.5-Apollo
FileZilla Server.

FileZilla Server plugin general set-up.

The FileZilla Server is extremely flexible on the previous page I covered a portable version that can be run independently of Uniform Server. This page looks at how to set the server up for general use; later I will target Uniform Server specifically.

  1. Adding a Site to FileZilla Site Manager. Open FileZilla and access Site Manager. You can do so by going to the File menu or pressing CTRL+S (CMD+S on macOS). Once the Site Manager window pops up, click New Site and fill in the columns with your FTP details. Here’s a short explanation of each line.
  2. Thus command line options are limited to what you can see through filezilla -h. However there's an old feature request on Filezilla Trac's that was deemed an official answer indicating plans to create a command line client sometime after version 3. I do not know if this is being done or not, if it was abandoned or not.

Apart from setting up a user account the defaults allow the server to work straight out of the box. If you have any special requirements these default values can be tweaked later. I will be covering two scenarios, transferring files across a local network and over the Internet.

Last but not least, FileZilla Server is a free open source FTP and FTPS Server. Support is available through our forums, the wiki and the bug and feature request trackers. In addition, you will find documentation on how to compile FileZilla and nightly builds for multiple platforms in the development section.

User accounts


  1. Start the server by double clicking on filezila_start.bat
  2. Start the administration interface, double click on filezilla_admin.bat

The admin interface provides access to three server sections, setting, users and groups. Two methods are available to do this, either via the top row of icons or using the drop down menu.

  • Settings: Top row icon A) dropdown menu A1)
  • Users: Top row icon B) dropdown menu B1)
  • Groups: Top row icon C) dropdown menu C1)

Create a user:

  1. Select Users Edit > Users B1)
  2. Menu General D) selected by default
  3. Click Add E) a Add user account pop-up displayed
  4. Type a new user name F) click OK G)
    (Add user account pop-up disapears)
  5. Enable account H) selected by default
  6. Check Password box J) enter a password K)

Assign a user folder:

  1. Click Shared folders L)
  2. Check required user M) is selected
  3. Click Add N) in the pop-up select a folder to share.
  4. The folder selected is displayed O)
    to the left of this make sure “H” is displayed
    if not clcik “Set as home dir” P)
  5. Select file privileges Q) you wish to allow
  6. Select directory privileges R) you wish to allow
  7. Click OK S)


For each new user repeat steps 3-12

You can change user privileges and delete users as required.

Restart the server to guarantee changes take effect (generally not required)

Quick Test

Assuming you are running the server on your local machine you can quickly test the account.

Type the following into your browser:

ftp://localhost/ a pop-up is displayed enter name (fred) and password.

A page is displayed showing files and folders contained in your shared folder.

Local network access

Anyone on your local network can access the ftp server by typing ftp://your_ip_address into their browser; they will be challenged for a user name and password.

To find your IP address use a command prompt:

  • Open command prompt start > run > type in cmd > clik OK
  • In the command window type ipconfig /all
  • Look for your IP address. If you are using a wireless network the address will be similar to this
  • While in the command window look for Host Name (my PC name is mpg2) the name of your PC
    (note sometimes this is not set-up)

A user can use either HostName or IP address to access your FTP server for example:

A user on your network would then type ftp://mpg2/

Neither of the above is very easy on the eye an alternative is to get each user to add a memorable name to their hosts file. For example under localhost add a line as shown below: localhost my_ftp_server

They must substitute for your IP address and replace my_ftp_server with a memorable name, which they would like to use.

Internet access

To access your FTP server from the Internet a user would type the following into a browser:

ftp://your_domain_name/ alternatively ftp://your_external_ip_address

On-line help:

Testing an FTP server for online access can be problematic however there are two useful online services that can help:

  • To find your external IP address use: Whatsmyip
  • To test FTP access use: Gene6 FTP Server Test, its free for anyone to use.


If you have a direct Internet connection there should be no problems with access.
However if you are using a router you need to forward ports 20 and 21 every router is different hence pay a visit to PortForwrd for detailed instructions.


You may be unlucky and have a service provider that blocks the common FTP ports. In this event try changing the ports. Do not allow your firewall to block Internet access otherwise you will need to manually enable access.

FTP Clients

Using a browser allows for quick testing however an FTP client offers more flexibility my personal favourite is FireFTP running on Firefox. It’s a personal taste hence choose one that suits your needs.


The above shows how easy FileZilla server is to set-up real problem is one of security. Passwords and data are sent unencrypted the next page covers a secure FTP server.

Retrieved from ''
Skip to end of metadataGo to start of metadata

This document highlights several simple methods to transfer files to the HPCC home and research directories. There are two main systems for copying files. First, simply '' which is our main log-in gateway. It can be used for file transfer but may have high traffic, is not meant for demanding file transfers (very large files or many files), and cannot access the scratch disk (/mnt/ls15/scratch or /mnt/scratch). We offer a second gateway designed for file transfer, and does have access to the scratch file system with the host name ''. Therefore we highly recommend you use for the 'host' or 'server' in all examples below, as it's the only way to transfer files from scratch. Note that while it's named for the popular unix 'rsync' command, it can be used for sftp or scp as well.

Fzsftp Command Line Example

Using FileZilla (for Mac and Windows)

FileZilla is a GUI application.

  1. Download and install the appropriate (free) Filezilla client from and select your operating system version. Mac users will have to 'unzip' the file and move the application into your Applications folder.
  2. To use, launch the program.
  3. In the top dialog boxes, enter:
    • (Host)
    • (Username) <your username>
    • (Password) <your password>
    • (Port) 22
      Then click connect or quickconnect. The first time you use this, you will have to accept the host certificate.
  4. Once connected, the left column displays files on your local computer, the right column displays files on hpcc.
  5. You can select the appropriate directories by double clicking through each tree. Files can be dragged and dropped from one column to the next. (By dragging files from the left column to the right, you are uploading files to HPCC from your local computer. By dragging files from the right column to the left, you can download files from HPCC to your local computer.

Using Linux commands

A number of different command-line utilities are available to OS X and Linux users. Each of them has its own advantages.

(1) Basic file copy (scp)

Filezilla Client Command Line Script Examples

A simple command for transferring files between the cluster and another host is scp. To copy a file from a local directory to file space on the cluster, use a line like

This will copy the file named example.txt in the local host's home directory to the user's home directory on the cluster, with the copy having the name example_copy.txt. Leaving the space after the colon blank gives the new file the same name as the original. Note: To transfer a file name with spaces you must put a backslash before each space in your file name, i.e.
scp 'My File Name' [email protected]:'My File Name'

To copy a file from the cluster to your local directory,

will copy the file named example.txt from the user's home directory on the cluster to the home directory of the local host, naming the new file example_copy.txt. Leaving the space after the slash blank gives the new file the same name as the original. The -r option can be used to copy entire directories recursively.

(2) Synchronize directories (rsync)

If you are an advanced LINUX/Mac user, there is a wonderful little utility that makes mirroring directories simple. The syntax looks very similar to scp.

  • To mirror <local_dir> on my local computer to <hpcc_dir> on hpcc, the following command can be issued.

    In the above command, rsync will scan through both directories. If any files in the <local_dir> are newer, they will be uploaded to <hpcc_dir>. (It is also possible to get rsync to upload ALL different files, regardless of which is newer).

  • To mirror the HPCC directory to your local system, call

    the first time you use rsync, you might want to add the -n flag to do a dry run before any files are copied.


(3) Interactive file copy (sftp)

Filezilla Command Line Examples Windows

When preforming several data transfers between hosts, the sftp command may be preferable, as it allows the user to work interactively. Running

Filezilla Client Command Line

from a local host establishes a connection between that host and the cluster. Both hosts can be navigated. For the local file system, lcd changes to the specified directory, lpwd prints the working directory, and lls prints a list of files in the current directory. For the remote file system, the same three commands are available, minus the leading 'l.' Also available are commands to change permissions, rename files, and manipulate directories on the remote host. The two key commands are get example.txt, which copies the file in the remote working directory to the local working directory, and put example.txt, which copies the file in the local working directory to the remote working directory. The quit command closes the connection between hosts.

(4) Copy file from Internet (wget)

Filezilla Command Line Examples Free

Wget is a simple command useful for copying files from the Internet to a user's file space on the cluster. Submitting the line


downloads examplefile.txt to the user's working directory. Other protocols, such as ftp, are also available.