cadaver icon indicating copy to clipboard operation
cadaver copied to clipboard

automatic login with .cadaverrc and .netrc not working

Open agrahn opened this issue 3 years ago • 2 comments

I would like to connect to a webdav file space on the internet and have cadaver only ask for my password.

So I have created a ~/.cadaverrc file

open https://webdav.smartdrive.web.de

and a ~/.netrc file

default
login [email protected]

(The login is the connected user email.)

However cadaver seems to ignore the .netrc file since it constantly asks for the user name instead of going straight to ask for the user password. Am I missing something here?

Thank you for your hints.

agrahn avatar Jan 10 '23 13:01 agrahn

Can you try using host webdav.smartdrive.web.de instead of default ? I'm not sure cadaver respects default?

notroj avatar Jan 11 '23 16:01 notroj

I would like to connect to a webdav file space on the internet and have cadaver only ask for my password.

So I have created a ~/.cadaverrc file

open https://webdav.smartdrive.web.de

and a ~/.netrc file

default
login [email protected]

(The login is the connected user email.)

However cadaver seems to ignore the .netrc file since it constantly asks for the user name instead of going straight to ask for the user password. Am I missing something here?

Thank you for your hints.

I changed the variable HOME in file cadaver.c, and set the file location .cadaverrc & .netrc. After that cadaver works fine

santa2021 avatar Mar 10 '23 22:03 santa2021