Quantcast
Channel: FileZilla Forums
Viewing all articles
Browse latest Browse all 11475

Target-based folders

$
0
0
Hello. Thank you for taking the time to look at this.

I have a somewhat complicated problem:

I am attempting to merge two old IIS-based FTP servers into one FileZilla server. Ideally I would like to provide both of them in the same server and port.

The two servers, however, use different targets. (i.e. ftp1.example.com and ftp2.example.com)

My real problem is that there are some users who used both servers, with the same username and password for each.
At present, I am currently using an alias system to provide the same usability, but it is not seamless, particularly for presentation.

The original ftp1.example.com presents the following to the user:

ftproot [HOME]
__|-ftproot/in
______|-ftproot/in/<username>
__|-ftproot/out
______|-ftproot/in/<username>

The original ftp2.example.com presents the following to the user:

ftp
_| - <username> [HOME]
_________| - <Any user created subdirectories>

However, when a user has to see both formats, they see the ftp2.example.com style with ftproot/in/ and ftproot/out/ as aliases within their home directory. It was made this way so as not to break any programs which users may run on the FTP site.

Ideally, what I would like, is for the FTP server to work out, based on connection target (i.e. ftp1.example.com or ftp2.example.com) which format to display to them.

Secondarily, another option I could think of would be of some sort of use of a variable in the Group shared folders setup. Is it possible to automatically share folders based on a username with a variable?

For instance, if the user testUser is in the testGroup, and the testGroup has a shared folder "C:\ftproot\%USER%", they would have the C:\ftproot\testUser shared folder automatically.

Edit: I worked out the second one using the :u variable, but would appreciate any input you have.

Are any of these options possible, and if so, I would appreciate a hint on how to use them.

Many thanks,
Chartax.

Viewing all articles
Browse latest Browse all 11475

Trending Articles