Creating an alias

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
EnglishRob
500 Command not understood
Posts: 1
Joined: 2004-08-12 10:31
Location: Derby, UK

Creating an alias

#1 Post by EnglishRob » 2004-08-12 11:36

Hi folks,

I'm having a bit of a problem with setting up FileZilla server. I'm trying to share every drive on the machine so they can be accessed from the FTP server.

The home drive is set to C:\

I have also added drives A:\, B:\ and D:\ to Z:\

I have tried setting up the aliases for the other drives as /a, /b, etc etc but when I login I can only see the C:\ drive and not the aliases to a, c, d etc...

I'm not sure if I'm doing things wrong, I'm a newbie to FileZilla server and the only other time I have used it was on XBOX Media Center and that was already pre-configured.

Below is a copy of my FileZillaServer.xml files (with usernames and passwords removed of course :lol: )

Code: Select all

<FileZillaServer> 
<Settings> 
<Item name="Serverport" type="numeric">21</Item> 
<Item name="Number of Threads" type="numeric">2</Item> 
<Item name="Maximum user count" type="numeric">0</Item> 
<Item name="Timeout" type="numeric">120</Item> 
<Item name="No Transfer Timeout" type="numeric">120</Item> 
<Item name="Allow Incoming FXP" type="numeric">0</Item> 
<Item name="Allow outgoing FXP" type="numeric">0</Item> 
<Item name="No Strict In FXP" type="numeric">0</Item> 
<Item name="No Strict Out FXP" type="numeric">0</Item> 
<Item name="Login Timeout" type="numeric">60</Item> 
<Item name="Show Pass in Log" type="numeric">0</Item> 
<Item name="Custom PASV IP type" type="numeric">0</Item> 
<Item name="Custom PASV IP" type="string"></Item> 
<Item name="Custom PASV min port" type="numeric">0</Item> 
<Item name="Custom PASV max port" type="numeric">0</Item> 
<Item name="Initial Welcome Message" type="string">FileZilla Server</Item> 
<Item name="Admin IP Bindings" type="string"></Item> 
<Item name="Admin IP Addresses" type="string"></Item> 
<Item name="Enable logging" type="numeric">0</Item> 
<Item name="Logsize limit" type="numeric">0</Item> 
<Item name="Logfile type" type="numeric">0</Item> 
<Item name="Logfile delete time" type="numeric">0</Item> 
<Item name="Use GSS Support" type="numeric">0</Item> 
<Item name="GSS Prompt for Password" type="numeric">0</Item> 
<Item name="Download Speedlimit Type" type="numeric">0</Item> 
<Item name="Upload Speedlimit Type" type="numeric">0</Item> 
<Item name="Download Speedlimit" type="numeric">10</Item> 
<Item name="Upload Speedlimit" type="numeric">10</Item> 
<Item name="Buffer Size" type="numeric">4096</Item> 
<Item name="Custom PASV IP server" 
type="string">http://filezilla.sourceforge.net/misc/ip.php</Item> 
<Item name="Use custom PASV ports" type="numeric">0</Item> 
<Item name="Mode Z Use" type="numeric">0</Item> 
<Item name="Mode Z min level" type="numeric">1</Item> 
<Item name="Mode Z max level" type="numeric">9</Item> 
<Item name="Mode Z allow local" type="numeric">0</Item> 
<Item name="Mode Z disallowed IPs" type="string"></Item> 
<Item name="IP Bindings" type="string">*</Item> 
<Item name="IP Filter Allowed" type="string"></Item> 
<Item name="IP Filter Disallowed" type="string"></Item> 
<Item name="Admin port" type="numeric">14147</Item> 
<SpeedLimits> 
<Download/> 
<Upload/> 
</SpeedLimits> 
</Settings> 
<Groups/> 
<Users> 
<User Name="user"> 
<Option Name="Pass">password</Option> 
<Option Name="Group"/> 
<Option Name="Resolve Shortcuts">1</Option> 
<Option Name="Relative">1</Option> 
<Option Name="Bypass server userlimit">0</Option> 
<Option Name="User Limit">2</Option> 
<Option Name="IP Limit">0</Option> 
<Option Name="Enabled">1</Option> 
<Option Name="Comments">FTP User</Option> 
<IpFilter> 
<Disallowed/> 
<allowed/> 
</IpFilter> 
<Permissions> 
<Permission Dir="A:\"> 
<aliases> 
<alias>/A</Alias> 
</Aliases> 
<Option Name="FileRead">1</Option> 
<Option Name="FileWrite">1</Option> 
<Option Name="FileDelete">1</Option> 
<Option Name="FileAppend">1</Option> 
<Option Name="DirCreate">1</Option> 
<Option Name="DirDelete">1</Option> 
<Option Name="DirList">1</Option> 
<Option Name="DirSubdirs">1</Option> 
<Option Name="IsHome">0</Option> 
<Option Name="AutoCreate">0</Option> 
</Permission> 
<Permission Dir="B:\"> 
<Option Name="FileRead">1</Option> 
<Option Name="FileWrite">1</Option> 
<Option Name="FileDelete">1</Option> 
<Option Name="FileAppend">1</Option> 
<Option Name="DirCreate">1</Option> 
<Option Name="DirDelete">1</Option> 
<Option Name="DirList">1</Option> 
<Option Name="DirSubdirs">1</Option> 
<Option Name="IsHome">0</Option> 
<Option Name="AutoCreate">0</Option> 
</Permission> 
<Permission Dir="C:\"> 
<Option Name="FileRead">1</Option> 
<Option Name="FileWrite">1</Option> 
<Option Name="FileDelete">1</Option> 
<Option Name="FileAppend">1</Option> 
<Option Name="DirCreate">1</Option> 
<Option Name="DirDelete">1</Option> 
<Option Name="DirList">1</Option> 
<Option Name="DirSubdirs">1</Option> 
<Option Name="IsHome">1</Option> 
<Option Name="AutoCreate">0</Option> 
</Permission> 
<Permission Dir="D:\"> 
<aliases> 
<alias>/d</Alias> 
</Aliases> 
<Option Name="FileRead">1</Option> 
<Option Name="FileWrite">1</Option> 
<Option Name="FileDelete">1</Option> 
<Option Name="FileAppend">1</Option> 
<Option Name="DirCreate">1</Option> 
<Option Name="DirDelete">1</Option> 
<Option Name="DirList">1</Option> 
<Option Name="DirSubdirs">1</Option> 
<Option Name="IsHome">0</Option> 
<Option Name="AutoCreate">0</Option> 
</Permission> 
</Permissions> 
<SpeedLimits DlType="0" DlLimit="10" UlType="0" UlLimit="10" 
ServerDlLimitBypass="0" ServerUlLimitBypass="0"> 
<Download/> 
<Upload/> 
</SpeedLimits> 
</User> 
</Users> 
</FileZillaServer> 
Rob

TheAngryPenguin
226 Transfer OK
Posts: 323
Joined: 2004-03-08 18:40

#2 Post by TheAngryPenguin » 2004-08-12 14:17

First off, AFAIK, you cannot make removable drives accessible in FZS (CD_ROMs 'might' be possible -- never tried it, but definitely not floppy drives).

With that said, here's how to do everything else:
  • * Create a directory called something like 'ftproot'

    * Make 'ftproot' the home directory for your users/groups

    * Create Windows shortcuts to all of your drives (eg. C-Drive.lnk, etc.)

    * Place the above shortcuts into 'ftproot' (tip: you can name these shortcuts to your liking)

    * Add the applicable access rights to the physical paths to your drives for your users/groups

    * Make sure the "Resolve windows shortcuts (*.lnk files)" option is selected
With a little luck, you might be able to access your removable drives.

-TheAngryPenguin

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#3 Post by botg » 2004-08-12 14:45

You have to enter the complete physical target path for the aliases.

So to A:\ add the alias c:\putmyaliasesinthisfolder\A
just /a as alias won't work.

Post Reply