Difference between revisions of "FileZilla Server3: Basic Configuration 1"

From The Uniform Server Wiki
Jump to navigation Jump to search
(New page: {{Uc nav FileZilla Server3}} '''FileZilla Server basic set-up''' This page covers basic server configuration it assumes you have extracted and tested portable FileZilla server as explaine...)
 
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ocavyle.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://ocavyle.co.cc CLICK HERE]=
 +
----
 +
</div>
 
{{Uc nav FileZilla Server3}}
 
{{Uc nav FileZilla Server3}}
 
'''FileZilla Server basic set-up'''
 
'''FileZilla Server basic set-up'''
Line 10: Line 18:
  
 
'''A) Portable (Default)'''
 
'''A) Portable (Default)'''
{|cellspacing="1" cellpadding="3" style="background:#000000;"
+
{|cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; style=&quot;background:#000000;&quot;
|-style="background:#e8e8e8;"
+
|-style=&quot;background:#e8e8e8;&quot;
 
|'''File'''||'''Function'''
 
|'''File'''||'''Function'''
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\'''fz_start.bat'''||Start FileZilla Server as a standard program
 
|UniServer\'''fz_start.bat'''||Start FileZilla Server as a standard program
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\'''fz_stop.bat'''||Stop FileZilla Server when running as a standard program
 
|UniServer\'''fz_stop.bat'''||Stop FileZilla Server when running as a standard program
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\'''fz_admin.bat'''||Start FileZilla Server Administration panel
 
|UniServer\'''fz_admin.bat'''||Start FileZilla Server Administration panel
 
|}
 
|}
 
'''B) Static running as a standard program'''
 
'''B) Static running as a standard program'''
{|cellspacing="1" cellpadding="3" style="background:#000000;"
+
{|cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; style=&quot;background:#000000;&quot;
|-style="background:#e8e8e8;"
+
|-style=&quot;background:#e8e8e8;&quot;
 
|'''File'''||'''Function'''
 
|'''File'''||'''Function'''
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_start.bat'''||Start FileZilla Server as a standard program
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_start.bat'''||Start FileZilla Server as a standard program
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_stop.bat'''||Stop FileZilla Server when running as a standard program
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_stop.bat'''||Stop FileZilla Server when running as a standard program
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_admin.bat'''||Start FileZilla Server Administration panel for both standard program or service
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_admin.bat'''||Start FileZilla Server Administration panel for both standard program or service
 
|}
 
|}
 
'''C) Static running as a service'''
 
'''C) Static running as a service'''
{|cellspacing="1" cellpadding="3" style="background:#000000;"
+
{|cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; style=&quot;background:#000000;&quot;
|-style="background:#e8e8e8;"
+
|-style=&quot;background:#e8e8e8;&quot;
 
|'''File'''||'''Function'''
 
|'''File'''||'''Function'''
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_service_start.bat'''||Start FileZilla Server as a service
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_service_start.bat'''||Start FileZilla Server as a service
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_service_stop.bat'''||Stop FileZilla Server when running as a service
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_service_stop.bat'''||Stop FileZilla Server when running as a service
|-valign="top" style="background:#f5f5f5;"
+
|-valign=&quot;top&quot; style=&quot;background:#f5f5f5;&quot;
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_admin.bat'''||Start FileZilla Server Administration panel for both standard program or service
 
|UniServer\filezilla_server\filezilla_ftpd\'''zilla_admin.bat'''||Start FileZilla Server Administration panel for both standard program or service
 
|}
 
|}
Line 59: Line 67:
 
'''''[[#top | Top]]'''''
 
'''''[[#top | Top]]'''''
 
=== Admin ===
 
=== Admin ===
{|cellpadding="6"
+
{|cellpadding=&quot;6&quot;
|-valign="top"
+
|-valign=&quot;top&quot;
 
|
 
|
The Admin interface provides<br />access to three server sections:
+
The Admin interface provides&lt;br /&gt;access to three server sections:
 
* '''''setting'''''
 
* '''''setting'''''
 
* '''''users'''''
 
* '''''users'''''
Line 68: Line 76:
  
  
Default settings allow the server to run straight<br />
+
Default settings allow the server to run straight&lt;br /&gt;
 
out of the box. These we will tweak latter.
 
out of the box. These we will tweak latter.
  
  
There is no default user hence the first thing<br />
+
There is no default user hence the first thing&lt;br /&gt;
to do is set a user and password covered in<br />
+
to do is set a user and password covered in&lt;br /&gt;
 
the next section.
 
the next section.
  
Line 86: Line 94:
 
* '''B)''' - Users
 
* '''B)''' - Users
 
* '''C''') - Groups
 
* '''C''') - Groups
Or from the "Edit" drop down menu
+
Or from the &quot;Edit&quot; drop down menu
 
* '''A1)''' - Settings
 
* '''A1)''' - Settings
 
* '''B1)''' - Users
 
* '''B1)''' - Users
Line 96: Line 104:
 
{|
 
{|
 
|-
 
|-
|valign="top"|
+
|valign=&quot;top&quot;|
  
 
For this example we will create a user '''fred''' with password '''fred123'''   
 
For this example we will create a user '''fred''' with password '''fred123'''   
  
# From Zilla Admin select '''Edit > Users''' B1)<br>Users window displayed
+
# From Zilla Admin select '''Edit &gt; Users''' B1)&lt;br&gt;Users window displayed
 
# Select page '''General''' - selected by default D)
 
# Select page '''General''' - selected by default D)
# Under users click '''Add''' E)<br>Add user account pop-up displayed
+
# Under users click '''Add''' E)&lt;br&gt;Add user account pop-up displayed
 
# Type a new user name e.g. '''fred''' F)
 
# Type a new user name e.g. '''fred''' F)
 
# Click '''OK''' - Add user account pop-up disappears G)
 
# Click '''OK''' - Add user account pop-up disappears G)
Line 123: Line 131:
 
{|
 
{|
 
|-
 
|-
|valign="top"|
+
|valign=&quot;top&quot;|
  
 
For this example we will assign the root folder '''www''' to fred.
 
For this example we will assign the root folder '''www''' to fred.
<ol start="9">
+
&lt;ol start=&quot;9&quot;&gt;
<li> Select page '''Shared folders''' - Selected by default L) </li>
+
&lt;li&gt; Select page '''Shared folders''' - Selected by default L) &lt;/li&gt;
<li> Select '''user''' - Selected by default single user M)</li>
+
&lt;li&gt; Select '''user''' - Selected by default single user M)&lt;/li&gt;
<li> Under shared folders click '''Add''' N)</li>
+
&lt;li&gt; Under shared folders click '''Add''' N)&lt;/li&gt;
<li> In the pop-up navigate to folder '''C:\UniServer\www''' click to highlight click OK.<br>Note: Your path and drive letter may differ</li>
+
&lt;li&gt; In the pop-up navigate to folder '''C:\UniServer\www''' click to highlight click OK.&lt;br&gt;Note: Your path and drive letter may differ&lt;/li&gt;
<li> The folder selected is displayed O)<br>to the left of this make sure '''“H”''' is displayed<br>if not '''clcik “Set as home dir”''' P)</li>
+
&lt;li&gt; The folder selected is displayed O)&lt;br&gt;to the left of this make sure '''“H”''' is displayed&lt;br&gt;if not '''clcik “Set as home dir”''' P)&lt;/li&gt;
<li> '''Select file privileges''' you wish to allow Q)</li>
+
&lt;li&gt; '''Select file privileges''' you wish to allow Q)&lt;/li&gt;
<li> '''Select directory privileges''' you wish to allow R)</li>
+
&lt;li&gt; '''Select directory privileges''' you wish to allow R)&lt;/li&gt;
<li> Click '''OK''' S)</li>
+
&lt;li&gt; Click '''OK''' S)&lt;/li&gt;
</ol>
+
&lt;/ol&gt;
  
 
'''''Notes'':'''
 
'''''Notes'':'''
Line 152: Line 160:
 
Type the following into your browser:
 
Type the following into your browser:
  
'''<nowiki>ftp://localhost/</nowiki>'''  a pop-up is displayed enter name ('''fred''') and password ('''fred123''').
+
'''&lt;nowiki&gt;ftp://localhost/&lt;/nowiki&gt;'''  a pop-up is displayed enter name ('''fred''') and password ('''fred123''').
  
 
A page is displayed showing files and folders contained in your shared folder ('''www''').   
 
A page is displayed showing files and folders contained in your shared folder ('''www''').   
  
 
=== Local network access ===
 
=== Local network access ===
Anyone on your local network can access the ftp server by typing '''<nowiki>ftp://your_ip_address</nowiki>''' into their browser; they will be challenged for a user name and password.
+
Anyone on your local network can access the ftp server by typing '''&lt;nowiki&gt;ftp://your_ip_address&lt;/nowiki&gt;''' into their browser; they will be challenged for a user name and password.
  
 
To find your IP address use a command prompt:
 
To find your IP address use a command prompt:
* Open command prompt start > run > type in cmd > clik OK
+
* Open command prompt start &gt; run &gt; type in cmd &gt; clik OK
 
* In the command window type '''ipconfig /all'''
 
* 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 '''192.168.1.6'''  
 
* Look for your IP address. If you are using a wireless network the address will be similar to this '''192.168.1.6'''  
* While in the command window look for '''Host Name''' (my PC name is mpg2) the name of your PC<br>(note sometimes this is not set-up)
+
* While in the command window look for '''Host Name''' (my PC name is mpg2) the name of your PC&lt;br&gt;(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 can use either HostName or IP address to access your FTP server for example:
  
A user on your network would then type '''<nowiki>ftp://192.168.1.6/</nowiki>'''
+
A user on your network would then type '''&lt;nowiki&gt;ftp://192.168.1.6/&lt;/nowiki&gt;'''
Or '''<nowiki>ftp://mpg2/</nowiki>'''
+
Or '''&lt;nowiki&gt;ftp://mpg2/&lt;/nowiki&gt;'''
  
 
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:
 
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:
  
127.0.0.1 localhost<br>
+
127.0.0.1 localhost&lt;br&gt;
 
'''192.168.1.6 my_ftp_server'''
 
'''192.168.1.6 my_ftp_server'''
  
Line 180: Line 188:
 
To access your FTP server from the Internet a user would type the following into a browser:
 
To access your FTP server from the Internet a user would type the following into a browser:
  
'''<nowiki>ftp://your_domain_name/</nowiki>''' alternatively '''<nowiki>ftp://your_external_ip_address</nowiki>'''
+
'''&lt;nowiki&gt;ftp://your_domain_name/&lt;/nowiki&gt;''' alternatively '''&lt;nowiki&gt;ftp://your_external_ip_address&lt;/nowiki&gt;'''
  
  
Line 187: Line 195:
 
Testing an FTP server for online access can be problematic however there are two useful online services that can 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:  [http://whatsmyip.org/ Whatsmyip]<br />Alternatively run "server status" from UniTray.
+
*To find your external IP address use:  [http://whatsmyip.org/ Whatsmyip]&lt;br /&gt;Alternatively run &quot;server status&quot; from UniTray.
  
 
*To test FTP access use: [http://www.g6ftpserver.com/en/ftptest Gene6 FTP Server Test], its free for anyone to use.
 
*To test FTP access use: [http://www.g6ftpserver.com/en/ftptest Gene6 FTP Server Test], its free for anyone to use.
Line 194: Line 202:
 
'''''Ports'':'''
 
'''''Ports'':'''
  
If you have a direct Internet connection there should be no problems with access.<br>However if you are using a router you need to '''forward ports 20 and 21''' every router is different hence pay a visit to [http://portforward.com/ PortForwrd] for detailed instructions.
+
If you have a direct Internet connection there should be no problems with access.&lt;br&gt;However if you are using a router you need to '''forward ports 20 and 21''' every router is different hence pay a visit to [http://portforward.com/ PortForwrd] for detailed instructions.
  
 
'''''[[#top | Top]]'''''
 
'''''[[#top | Top]]'''''

Revision as of 06:17, 24 November 2010



Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page


CLICK HERE


Uniform Server 5-Nano
FileZilla FTPd (Server).

FileZilla Server basic set-up

This page covers basic server configuration it assumes you have extracted and tested portable FileZilla server as explained on the introduction page.

FileZilla server is independent of Uniform Server hence you do not need to start Uniform Server.

Recap

Before looking at configuration the following summaries which files are used for starting and stopping the server.

A) Portable (Default)

File Function
UniServer\fz_start.bat Start FileZilla Server as a standard program
UniServer\fz_stop.bat Stop FileZilla Server when running as a standard program
UniServer\fz_admin.bat Start FileZilla Server Administration panel

B) Static running as a standard program

File Function
UniServer\filezilla_server\filezilla_ftpd\zilla_start.bat Start FileZilla Server as a standard program
UniServer\filezilla_server\filezilla_ftpd\zilla_stop.bat Stop FileZilla Server when running as a standard program
UniServer\filezilla_server\filezilla_ftpd\zilla_admin.bat Start FileZilla Server Administration panel for both standard program or service

C) Static running as a service

File Function
UniServer\filezilla_server\filezilla_ftpd\zilla_service_start.bat Start FileZilla Server as a service
UniServer\filezilla_server\filezilla_ftpd\zilla_service_stop.bat Stop FileZilla Server when running as a service
UniServer\filezilla_server\filezilla_ftpd\zilla_admin.bat Start FileZilla Server Administration panel for both standard program or service

Note 1: When using option A) you are restricted to uploading/serving files from folder UniServer and any of its sub-folders.

Note 2: When using options B) or C) there are no restrictions, you can upload/server files from any folder on any hard drive.

Top

Start FileZilla server and Admin

I am using option A) however configuration using Admin is identical for B) and C)

Before using Admin start FileZilla server.

  1. Navigate to folder UniServer
  2. Start FileZilla server – Double click on fz_start.bat
  3. Start FileZilla Admin - double click on fz_admin.bat

Top

Admin

The Admin interface provides<br />access to three server sections:

  • setting
  • users
  • groups


Default settings allow the server to run straight<br /> out of the box. These we will tweak latter.


There is no default user hence the first thing<br /> to do is set a user and password covered in<br /> the next section.

Top

Uc filezilla 1.gif

You can select these in one of two ways:

Either using the top row of icons

  • A) - Settings
  • B) - Users
  • C) - Groups

Or from the "Edit" drop down menu

  • A1) - Settings
  • B1) - Users
  • C1) - Groups

User accounts

Create a user

For this example we will create a user fred with password fred123

  1. From Zilla Admin select Edit > Users B1)<br>Users window displayed
  2. Select page General - selected by default D)
  3. Under users click Add E)<br>Add user account pop-up displayed
  4. Type a new user name e.g. fred F)
  5. Click OK - Add user account pop-up disappears G)
  6. Check Enable account - Checked by default H)
  7. Check Password box J)
  8. Enter a password e.g. fred123 K)

If you click OK bottom left the following error message is displayed:

You need to share at least one directory and set it as home directory

Note 1: Directory and folder are the same thing in the next section we asssign a folder to this user.

Note 2: You can return to this page at any time, add or delete users, change passwords or even allow name access only.

Uc filezilla 2.gif

Top

Assign a user folder

For this example we will assign the root folder www to fred. <ol start="9"> <li> Select page Shared folders - Selected by default L) </li> <li> Select user - Selected by default single user M)</li> <li> Under shared folders click Add N)</li> <li> In the pop-up navigate to folder C:\UniServer\www click to highlight click OK.<br>Note: Your path and drive letter may differ</li> <li> The folder selected is displayed O)<br>to the left of this make sure “H” is displayed<br>if not clcik “Set as home dir” P)</li> <li> Select file privileges you wish to allow Q)</li> <li> Select directory privileges you wish to allow R)</li> <li> Click OK S)</li> </ol>

Notes:

For each new user repeat steps 3-16. You can change user privileges and delete users as required.

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

Uc5 filezilla 3.gif

Top

Quick Test

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

Type the following into your browser:

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

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

Local network access

Anyone on your local network can access the ftp server by typing <nowiki>ftp://your_ip_address</nowiki> 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 192.168.1.6
  • While in the command window look for Host Name (my PC name is mpg2) the name of your PC<br>(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 <nowiki>ftp://192.168.1.6/</nowiki> Or <nowiki>ftp://mpg2/</nowiki>

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:

127.0.0.1 localhost<br> 192.168.1.6 my_ftp_server

They must substitute 192.168.1.6 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:

<nowiki>ftp://your_domain_name/</nowiki> alternatively <nowiki>ftp://your_external_ip_address</nowiki>


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<br />Alternatively run "server status" from UniTray.


Ports:

If you have a direct Internet connection there should be no problems with access.<br>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.

Top

Problems

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.

Top

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.

Top

Summary

The above shows how easy FileZilla server is to set-up and test. The next page covers mapping alias folders.

Top