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

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
adhobo
500 Command not understood
Posts: 2
Joined: 2024-03-12 20:17
First name: Robert
Last name: Macmillan

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

#1 Post by adhobo » 2024-03-12 20:42

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 692 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 692 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 :( .

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

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

#2 Post by boco » 2024-03-12 20:54

"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.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
oibaf
Contributor
Posts: 405
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

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

#3 Post by oibaf » 2024-03-12 21:36

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:\         |
+--------------+-------------+

adhobo
500 Command not understood
Posts: 2
Joined: 2024-03-12 20:17
First name: Robert
Last name: Macmillan

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

#4 Post by adhobo » 2024-03-13 00:08

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!

Post Reply