Filezilla Example

admin 11/23/2021
34 Comments

Question

How do I configure the FileZilla client to access my CIFS account?

Answer

FileZilla is a free and open-source, cross-platform FTP application, consisting of FileZilla Client and FileZilla Server. Client binaries are available for Windows, Linux, and macOS, server binaries are available for Windows only.Both server and client support FTP and FTPS (FTP over SSL/TLS), while the client can in addition connect to SFTP servers.

  • Example: filezilla.exe -u 'c: Program File FileZilla FileZilla.exe' ftp://user:[email protected]/upload-t CoolProg.exe /close (That makes the GUI close after the transfer completes.) /overwrite (That makes it overwrite files without prompting the user.).
  • 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.
  • In this guide we’ll take you through the steps to setup a folder on your Windows computer as an FTP repository, using a free program called FileZilla. FTP can be used to easily transfer a lot of files between computers; the FTP repository can be mapped to multiple computers across the Internet so that other people can access the directory right from Windows Explorer.
  • FileZilla Server is a sister product to FileZilla Client. It is an FTP server supported by the same project and features support for FTP and FTP over SSL/TLS. FileZilla Server is currently available only on the Windows platform. FileZilla Server is a free, open-source FTP server. Its source code is hosted on SourceForge.net.
Filezilla Example

To connect to your CIFS home directory or web space, your computer needs to be connected to the Duke network. If you are unable to connect to the Duke network, connect via the Virtual Private Network (VPN). For instructions on how to do this, please read VPN instructions for Windows.

FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP (port 22) client with a number of useful features and an intuitive graphical user interface. If you src='https://duke.service-now.com/ve never used an SFTP client before, you will find this client relatively simple to use as it' based on the drag and drop concepts used in Windows and OS X.

You can download FileZilla and get answers to questions by clicking on this link.

Connecting to Duke University using FileZilla

Once you've installed FileZilla, you will need to configure it to connect to your account using Multi-Factor Authentication (MFA)

1. Go to File and select Site manager...

2. Create New site (You can rename site connection)

  • New site > General Tab
  • Select Protocol: SFTP - SSH File Transfer Protocol *
  • Host: 'login.oit.duke.edu' *
  • Logon Type: Interactive
  • User: Enter your NetID using all lower case letters
  • Click Connect


3. Unknown host key prompt: The server's host key is unknown. You have no guarantee that the server is the computer you think it is.

  • Check box to Always trust the host

4. Enter your NetID password

5. Complete Multi-Factor Authentication (MFA)

  • Choose your preferred MFA Option by entering the number of your choice and click OK
  • Example:
  • Type '1' and Click OK
  • You will receive a push notification on your mobile device
  • Approve request to complete MFA and Connect

*This will connect you directly to your CIFS account. If you src='https://duke.service-now.com/d like to use FileZilla to connect to a different server for something other than accessing your CIFS account, please click on this link to see a list of server names.

Already have a site set up but are not getting prompted for MFA

Filezilla

If you have connected to FileZilla in the past and are getting errors such as the below. Follow the above instructions to Edit or Create a new Site connection so you will be prompted to log in with MFA.

  • No MFA prompt
  • Error: Server sent an additional login prompt. You need to use the interactive login type.
    Error: Critical error: Could not connect to server

Basic Usage of FileZilla

The section to the left, labeled Local site: shows the files accessible from on your computer. This will allow you to navigate your folders and files. Clicking on a folder will open it so that the files can be viewed in the files section below the folder tree.

Filezilla Script Example

The section to the right, labeled Remote site: shows the folders and files in your CIFS space. Click the + sign next to your NetID to show the folder structure of your CIFS volume.

NOTE: You will see a number of folders and files that may not look familiar. Please do not delete anything that doesn src='https://duke.service-now.com/t look familiar as these system files and folders may be used to support your online account. It is recommended that you not delete files using FileZilla unless you' e absolutely sure that they can be removed.

After you've selected the folders is each section, you can start transferring files. Select and click on any files in the Local site section, drag them to the files section of the Remote site, and release the mouse button. If you would like to move multiple files simultaneously, simply highlight those files together in the Local site and drag them over and they will be copied as a group.

The progress of the transfer will be shown at the bottom of the screen. There are tabs to show sections that denote Queued files that are currently being transferred, Failed transfers, and Successful transfers.

Files can also be copied from the Remote site to the Local site using the same click and drag process.

Using FileZilla to manage your personal web space

If you would like to add files for your personal website located at http://people.duke.edu/~[NetID], you will want to open the public_html folder in the Remote site section. You can then transfer files into and out of this folder. Once the file transfer is complete, the changes will immediately be active on your site.

For more information on personal web space or CIFS, please click on this link.

Using FileZilla to manage your group web space

If you would like to use FileZilla to manage a group web space that's already been created, you will want to manually type the path to your group space in the text box to the right of Remote site. The complete directory path to your group Web space directory is oit-nas-fe11.oit.duke.eduPROJECT-WEBwebnshared-space where n is the first letter of your web space and shared-space is the name of your project
Example: For the web space chemistry, type oit-nas-fe11.oit.duke.eduPROJECT-WEBwebcchemistry.

For additional help, please contact the OIT Service Desk at 919-684-2200 or click on this link for other ways to get help from OIT.

Examples

Filezilla Scripting Example

FileZilla is a popular open-source File Transfer Protocol (FTP) client with versions for Windows, Mac OSX and many desktop distributions of Linux.

You can use an FTP client to upload or download files from your web hosting server e.g. to upload your website's files, or to place a cpmove file in your hosting root directory for restoration. We have a separate guide on understanding FTP, your default FTP account and creating additional FTP accounts.

To download FileZilla, visit the FileZilla project website (external link opens in a new window) and download the appropriate version for your system.

This guide covers setting up FileZilla for FTPS (Explicit SSL/TLS) connections and SFTP (SSH connections). If you have set up SSH keys on either your Windows or Mac computer then FileZilla can also use them to log in.

Filezilla Search Files

FTPS (SSL/TLS)

  1. Open FileZilla and select Site Manager from the File menu.
  2. The Site Manager is where you can configure and save profiles for each of your websites.
    Click the New Site button and type in a name for your new Site. Don't worry if you make a mistake, you can always change it later. In the example below, we added a Site called My Krystal Account.Then, on the General Tab enter:
    Host - Your server's hostname or domain name
    Port - 21
    Protocol - FTP - File Transfer Protocol.
    Encryption - Require explicit FTP over TLS (recommended) or None
    Logon Type - Normal
    User - your cPanel username
    Password - your cPanel password
    Now click the Transfer Settings tabSelect the Passive Transfer Mode radio button
    Tick the Limit number of simultaneous connections checkbox
    Set the Maximum number of connections to 10
    Finally, click OK.
  3. The first time you connect you'll see an Unknown certificate prompt. Check carefully that the Subject of certificate - Common Name matches the server you are connecting to - click OK to confirm. You will only be prompted to confirm this certificate the first time you connect to a server.
    If you are connecting with your domain name rather than home server name you may also need to tick the Always trust this certificate in future session checkbox.

SFTP (Secure SHell / SSH FTP)

  1. Open FileZilla and select Site Manager from the File menu.
  2. The Site Manager is where you can configure and save profiles for each of your websites.
    Click the New Site button and type in a name for your new Site. Don't worry if you make a mistake, you can always change it later. In the example below, we added a Site called My Krystal Account.Then, on the General Tab enter:
    Host - Your Home Server name or domain name
    Port - 722
    Protocol - you can use FTP or SFTP. We strongly recommend you choose SFTP because, unlike FTP, all usernames, passwords and data are encrypted.
    Logon Type - Normal
    User - your cPanel username
    Password - your cPanel password
    Now click the Advanced tabDefault local directory - Browse to where you keep the website files for this project. FileZilla will automatically show you this directory when it connects to your site.
    Default remote directory - This should be in the form /home/<username>/public_html/ (replacing <username> with your cPanel username.)
    Now click the Transfer Settings tabSelect the Passive Transfer Mode radio button
    Tick the Limit number of simultaneous connections checkbox
    Set the Maximum number of connections to 10
    Finally, click OK.

Filezilla Official Site

How did we do?

How To Use Filezilla

Related Articles