Skip to content

test-access-local-storage

Allows to test the connection to a local storage.

Syntax:

shell
sfiler-cli [options] test-access-local-storage [command options]
Command optionsRequired / OptionalDescription
-pdRequiredThe Local storage path to the directory.
-etOptionalTrue or False: The Local storage enable for the trash folder.
-ptOptionalThe Local storage path to the trash folder.

Example:

This command tests the connection to a local storage.

shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" test-access-local-storage -pd "/path/to/directory" -et true -pt "/path/to/trash"