FileZilla Server3: Install Options

Revision as of 09:20, 22 November 2009 by Ric (talk | contribs) (New page: {{Uc nav FileZilla Server3}} '''Install options and design''' FileZilla plugin has three-installation options portable (default) static running as a standard program and static runing as ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Uniform Server 5-Nano
FileZilla FTPd (Server).

Install options and design

FileZilla plugin has three-installation options portable (default) static running as a standard program and static runing as a service.

This page details each option and explains restrictions imposed on FileZilla in portable mode.

The architecture is flexible allowing it to be tailored to your own requirements user modifications are explained in each section.

Portable - Mode

A default installation adds the following batch files to folder UniServer providing independent control of FileZilla Server.

fz_start.bat - Start FileZilla server - Runs file UniServer\filezilla_server\portable\fzp_start.bat
fz_stop.bat - Stop FileZilla server – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_stop.bat
fz_admin.bat – Start FileZilla admin – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_admin.bat

Each of the above files runs a single line of code.

Top

portable - Folder

Contents of folder UniServer\filezilla_server\portable provides support files for FileZilla FTPd “portable mode” operation.

fzp_start.bat Run by fz_start.bat This file in turn runs fzp_start.php
fzp_start.php This script tracks server location, if different to that contained in tracker file fx_tracker.txt rewrites all absolute paths in FileZill's configuration file UniServer\filezilla_server\filezilla_ftpd\FileZilla Server.xml

After updating this file runs UniServer\filezilla_server\filezilla_ftpd\zilla_start.bat

fzp_stop.bat Allows the server to be stooped from this folder.
fzp_admin.bat Allows admin to be started from this folder

Top

FileZilla restrictions

FileZilla allows you to assign any folder on any disk to a user. In addition when generating a FileZilla server certificate it can be saved to any location. This freedom is in conflict with portability hence the following restrictions are imposed:

  1. All folders assigned to a user must be restricted to either folder UniServer and or any sub-folders.
  2. FileZilla server certificate must be saved to folder UniServer or any sub-folder.

Top

Static - Mode

Static mode assumes you are not going to move either server. Installation of both Uniform Server and FileZilla are fixed. This has the advantage that no restrictions are placed on FileZilla meaning you can allocate any folder on any drive that you wish to serve.

In addition you can run FileZilla either as a standard program or as a service.

You can run either of the above modes directly using batch files in folder

UniServer\filezilla_server\filezilla_ftpd

However for convenience you can use pre-configured files and copy them to folder UniServer as follows:

Top

Static - Mode - Standard Program

Copy the following three files (fz_start.bat, fz_stop.bat and fz_admin.bat) from folder

UniServer\filezilla_server\options\static_standard_program

to UniServer and allow overwriting. They perform the following functions:

fz_start.bat - Start FileZilla server - Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_start.bat
fz_stop.bat - Stop FileZilla server – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_stop.bat
fz_admin.bat – Start FileZilla admin – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_admin.bat

Top

Static - Mode - Service

Copy the following three files (fz_start.bat, fz_stop.bat and fz_admin.bat) from folder

UniServer\filezilla_server\options\static_service

to UniServer and allow overwriting. They perform the following functions:

fz_start.bat - Start FileZilla server as a service - Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_service_start.bat
fz_stop.bat - Stop FileZilla server service – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_service_stop.bat
fz_admin.bat – Start FileZilla admin – Runs file UniServer\filezilla_server\filezilla_ftpd\zilla_admin.bat

Top

Summary

For each mode file names remain identical this is because only one mode is permitted. This also has the advantage that folder UniServer remains uncluttered.

Currently both Uniform server and FileZilla server are controlled independently this may be inconvenient if you prefer to control both servers at the same time check out Batch Fies.

Top