nextcloud-API icon indicating copy to clipboard operation
nextcloud-API copied to clipboard

How to test if connection to server actually works?

Open ho1ger opened this issue 3 years ago • 0 comments

Hi there,

is there a way how I can reliably test if the connection to my server actually works?

The problem is the following:

When I use the wrong password for my nextcloud user,

nxc.get_file(someDirectory)

returns None.

When I use the right password for my nextcloud user,

nxc.get_file(someDirectoryThatDoesNOTexist)

also returns None.

Thanks!

ho1ger avatar Jun 07 '22 08:06 ho1ger