burusftp path

Add or replace a user path mapping.

Synopsis

burusftp path -u <username> -v <path> [options]

Options

-u, --username <username>required

Username associated with the mapping.

-v, --virt <path>required

Virtual path (path visible to the user).

-p, --phys <path>

Physical path (path on the server filesystem).

--fset <flags>

Set file access flags — (A)ll, (R)ead, (W)rite, (D)elete. Combine flags to set multiple permissions (e.g. --fset RW). Use --fset "" for no access.

-f, --force

Replace an existing path mapping.

Examples

# Add path mapping / => C:\Users\Guybrush for user guybrush
burusftp path -v / -p "C:\Users\Guybrush" -u guybrush

# Add read-only mapping
burusftp path -v /protected -p "D:\protected" -u guybrush --fset R

# Replace existing path mapping
burusftp path -v /protected -p "D:\new_protected" -u guybrush -f

# Change permissions on an existing mapping
burusftp path -v /protected -u guybrush --fset A

See also

burusftp path delete, burusftp path list

On this page