Page 1 of 1

Set native path to "my pc" (or "My computer")

Posted: 2024-03-12 20:42
by adhobo
The install & configuration of FZ Server vers 1.81 on an updated W11 machine went smoothly. I'm still learning about Tailscale - but it made connecting dead easy.

On my previous machine I was using an old version of Cerberus FTP Server & when I login with FZ client I see all the drives listed below the virtual path "/" because I added each drive under the "Directories" config for my username. It looks like this when I connect with FZ client:
old mount points.JPG
old mount points.JPG (18.71 KiB) Viewed 1547 times
I wanted to do the same on my new machine i.e. on connection the root will list all the drives.

On my new install I accomplished it - sort of. Looks like this:
mount points.JPG
mount points.JPG (26.75 KiB) Viewed 1547 times
and when I login I see the D:\ drive listed with the other drives as sub folders. I understand why but is there a way to mount all drives at once?

PS I checked the FAQ, wiki & searched online - all unsuccessfully :( .

Re: Set native path to "my pc" (or "My computer")

Posted: 2024-03-12 20:54
by boco
"This PC" is not a physical directory and thus not available as a Mount Point. The closest you can achieve is:

1. Create the / virtual folder entry, but leave the physical path empty.
2. Define all other drives as subfolders.

This will provide you with the same list of drive letters in a non-writable, otherwise empty root directory. However, this list will not automatically update like "This PC" does, should anything change. E. g. plugging in a USB drive will add its drive letter to "This PC", but not to the list in the Server. You can simply define all possible drive letters and their physical counterparts, and non-existing drives will return an error.

Re: Set native path to "my pc" (or "My computer")

Posted: 2024-03-12 21:36
by oibaf
boco wrote:
2024-03-12 20:54
1. Create the / virtual folder entry, but leave the physical path empty.
No need to do that. Actually, impossible to do that, since the native path (if that's what you meant by "physical") cannot be empty (unless the mount point is set as "disabled").

What instead one must do, is just to mount the drive letters exactly where it's wanted.

So it would be:

Code: Select all

+--------------+-------------+
| Virtual Path | Native Path |
+--------------+-------------+
| /C           | C:\         |
| /D           | D:\         |
| /F           | F:\         |
| /G           | G:\         |
| /I           | I:\         |
+--------------+-------------+

Re: Set native path to "my pc" (or "My computer")

Posted: 2024-03-13 00:08
by adhobo
Thank you for the responses. Fabio - your suggestion works perfectly, thank you! I'm a newbie to this forum and don't see a way to mark this solved or closed but I'm now happy as clam :D having FZ on both ends of the connection!