FileZilla LINUXUSER

FileZilla ftp client Transport Manager

High-performance GUI-based ftp clients for are hard to find. The graphical FileZilla ftp client closes the gap. By Thomas Leichtenstern

lthough the name might lead versions, compared with the current via the Settings dialog, which you can you to think otherwise, FileZilla 3.0.7. Because versions above 3.0.5 in- access via the Edit | Settings menu. Con- Ahas nothing in common with clude various new features that I will be nection lets you specify whether the cli- the Mozilla project. The FileZilla project, referring to in this article, it makes more ent should use active or passive ftp to which was launched in 2001 by Tim sense to download the generic, pre-built contact the server [4]. The Active mode Kosse [1], was the SourceForge “Project package from the project homepage [3]. and Passive mode items let you set up of the Month” [2] in November 2003. In After the download, copy the tarball the details. version 3, the developers have recoded to the /opt folder and unpack at the com- The input dialog for proxy support the ftp client, which was originally re- mand line with the command: configuration appears by clicking FTP leased for Windows only, and ported the Proxy. To avoid consuming all the avail- results to Linux and Mac OS X [3]. tar xfvj FileZilla_3.0.7_i586‑U able bandwidth, you can restrict the up- Besides a neat GUI, the GPL2-licensed linux‑gnu.tar.bz2 load or download speed in the Transfers ftp client includes features that put some dialog. The Threshold item lets you spec- commercial competitors to shame. Proxy Clicking on /opt/FileZilla3/bin/filezilla ify whether FileZilla should apply these support is included, as is support for en- launches the program. When first restrictions strictly or less so. The speed crypted protocols, such as FTPS, FTPES, launched, the application creates a limit applies to the sum total of current or SSH . A file and ­.­filezilla folder below its home directory, downloads. Simultaneous transmissions directory filter make sure that you only which is where the configuration files share the bandwidth you specify. The see what you are looking for. The pro- are stored. Concurrent transfers area lets you set the gram includes a download limiter, which number of simultaneous transfers the lets you restrict the number of uploads Configuration program will allow (Figure 1). and downloads and the maximum trans- The first settings are configured with the Also, you can configure the View to fer speed. assistance of the network configuration suit your own taste. In File and Directory wizard, which you can launch by click- View:, the options are Explorer, Classic, Installation ing the item in the Edit menu. The wiz- Widescreen, and Billboard. Because the FileZilla has made its way into the repos- ard guides you step by step through the program applies the changes immedi- itories of all the major distributions and network configuration and provides a ately, you can watch the program win- can be installed by your distro’s native detailed description for each item you dow to decide whether you like the new package manager. users will are prompted to configure. view. The Designs category gives you the need to enable the Universe repository, Settings that relate to the client con- option of changing the widget sets, but which only has the 3.0.0 through 3.0.1 nection, transfer, or view are accessed not the window layouts.

JUNE 2008 ISSUE 91 83 LINUXUSER FileZilla

connection data and server type (ftp, SSH File Transfer Protocol, etc.). The ­Advanced tab lets you specify standard directories for the client to use locally and remotely after logging on (Figure 2). The Transfer settings tab lets you decide whether to use active or passive ftp [4]. After completing an entry, you can just double-click to open a connection. Data Traffic The FileZilla GUI is divided into four vertically tiled areas. The top area shows the log entries, besides displaying the current status and any errors that have occurred. In Explorer mode this is fol- lowed by the local and remote directory listings. The program shows files tagged Figure 1: The Transfers selection allows you to restrict download and upload speeds. for downloading in a queue at the bot- tom of the window (Figure 3). Edit remote file takes you to the set- opening a server directly in the Site In the local and remote directory tree tings for the new feature added in ver- Manager. area, the left panel shows a directory sion 3.0.5 that lets you edit text files on The Site Manager works like the book- tree, whereas the content of the selected the ftp server just like local files. To use marks in a web browser but has far more folder is displayed on the right. To copy this feature, just enter the path to your functionality. Clicking the Opens the site files or folders, just drag and drop to the Default editor:. manager icon on the far left of the menu target directory. As an alternative, you bar launches the Site Manager. Clicking can drag files and folders to the queue Site Manager the New Folder button lets you organize manager at the bottom of the window, FileZilla has multiple options for con- sites in directories that you create. To where they move from the currently se- necting to a server. For example, it has a bookmark a server, first click the direc- lected folder to the directory tree at the quick connection below the menu icons, tory where you want it to appear, and opposite end of the connection. Double- much like the address bar in a web then click New Site. Because you cannot clicking a file achieves the same results. browser. To use the quick connection shift entries around between folders, it FileZilla supports cross-program drag feature, just fill out the fields and click makes sense to create a meaningful di- and drop, for example, from Konqueror Connect. The server stores a history of rectory structure before you start creat- to the remote directory, but only from the sites you visit, and you can click the ing entries. the local machine to the server and not down arrow next to the Connect button Clicking on a server listed in the right vice versa. to access them. As of this writing, the window panel opens the corresponding FileZilla processes files and directories program does not have a feature for settings. In the General tab, enter the from the queue sequentially and inde- pendently of the download source. The program does not support changes to the download order, and it lacks a function

GLOSSARY FTPS: Ftp via SSL. Encrypts the control and data channels of an ftp connection during the transfer process. FTPES: Ftp via Explicit SSL. With this FTPS variant, control channel encryp- tion has to be triggered explicitly by clear text commands. SSH File Transfer Protocol: Advanced SCP (secure copy) variant that not only provides encrypted data transfer but also supports modifying remote files. FXP: The File Exchange Protocol sup- ports transferring of data from one ftp server to another, with the client acting Figure 2: The Advanced tab lets you specify directories. as a proxy.

84 ISSUE 91 JUNE 2008 FileZilla LINUXUSER

version 3.0.5.2 of the program crashed reproducibly. However, the author posted a bug fix on the CVS just two hours after my bug report, removing the issue in all later versions. To apply filters to a directory, click on the directory to open it in the FileZilla Browser window. Then select View | File filter to open the Filter for Folder Con- tent dialog and select the filters you want to apply locally or server-side. The new View | Compare directories function added in version 3.0.5 makes it easier to synchronize local directories with those on the connected server. You can select whether the tool should com- pare by file size or time stamp. FileZilla highlights differing entries in yellow. The option of using a previously se- lected text editor to edit ASCII files on the remote server just like local files is also new. To use it, right-click the file Figure 3: The GUI is divided into four vertically tiled areas. in question and select View/​Edit in the drop-down list. This tells the ftp client for pausing individual files in the queue. problem with this is that the program to copy the file to the local temporary The queue runs in a separate instance stores the login passwords for the serv- directory and back to the server when from the ftp browser, and this makes it er’s bookmarks in the clear, just as it stored. possible to access other ftp servers while stores them in the ~/.filezilla/siteman- a download is in progress. At the bottom ager.xml and ~/.filezilla/recentservers. Conclusions of the program module, you can use the xml configuration files. Security-con- On Linux, FileZilla has just raised the tabs to switch between the successful scious users will want to avoid storing bar for GUI-based ftp clients. The well- and failed transfer views. The Transfer passwords for remote ftp hosts in Site organized and mature program offers Queue tab shows the download queue. Manager. many useful features, from the indepen- When you relaunch the application, The file filter function is particularly dent download queue through highly the download is not lost, but it is in a useful for searches in directories with granular file filters. Plus, unlike many wait state. To continue downloading, large numbers of files (View | File Fil- other open source projects, FileZilla has right-click an entry and select Process ter…), and it lets you create any number excellent documentation [5]. Queue in the context menu. If a down- of filters, which you can apply to the di- Of course, nobody is perfect, not even load is partially complete, you are rectory by clicking. The three-tier mech- FileZilla. FileZilla saves server pass- prompted to decide how FileZilla should anism has filter set, filter, and rule lay- words in the clear in XML files, which is handle this; you can decided to ­continue, ers. In theory, different filter sets let you an unnecessary vulnerability. That said, overwrite, rename, or skip. manager groups of filters. In our lab, I the maintainers are working hard to re- If you want to perform an action after managed to create multiple filter sets, move the project’s rough edges. The re- completing the download, such as quit- but all of them contained the same rules. sponse time of not even two hours from ting FileZilla or sounding an audible A deletion in one set removed the rule a bug report to a bug fix on CVS is quite warning, right-click the entry in the from the others. impressive. n queue and select Action after processing To create a new filter, click Edit Fil- queue. You can even execute a command ter… in the Filter for folder content win- INFO that you enter via Enter command…. dow. This pops up a window in which [1] FileZilla: http://filezilla‑project.​­ org​­ FileZilla does not currently support FXP. you can type a name for the filter after [2] SourceForge “Project of the Month”: clicking New. The name is then dis- http://​­sourceforge.​­net/​­potm/ ​ Miscellaneous played in the selection list. To add rules ­potm‑2003‑11.php​­ In Edit, the import/​export function lets to a filter, click on Add more, which dis- [3] FileZilla download: http://​­sourceforge. ​ users back up and restore the configura- plays a line with two drop-down menus ­net/project/​­ showfiles.​­ php?​­ group_​­ tion files. Depending on the selection, and a text box. Here you can specify the id=21558 FileZilla will either save just the client criteria for the rules and create multiple [4] Wikipedia on ftp: http://​­en.​­wikipedia. ​ configuration or will include the server rules for a filter, such as the minimum ­org/wiki/​­ File_Transfer_Protocol​­ data in filezilla.xml. The file is stored in size and file extension. In our lab, when [5] FileZilla wiki: http://wiki.​­ ​ ­filezilla‑project.org/​­ Documentation​­ the user’s home directory. The only I tried to copy filters by pressing Copy,

JUNE 2008 ISSUE 91 85