8
1
Trying to do the following:
mkdir /Volumes/temp
mount_webdav davs://myusername@webdav.yandex.ru:443 /Volumes/temp
It doesn't return any error, but /Volumes/temp
is empty in result.
Here are the details of connection required (mac / linux), they are in Russian, but you may see details on screenshots.
Upd. The following works:
mount_webdav -i https://webdav.yandex.ru:443 /Volumes/temp
But in this case I have to input user name and password. I've tried the following:
mount_webdav https://myusername:mypass@webdav.yandex.ru:443 /Volumes/temp
mount_webdav -s https://myusername:mypass@webdav.yandex.ru:443 /Volumes/temp
It doesn't work.
I looked for the documentation you are referring to when was trying (that is why I've used option
i
). But it says nothing about keychain. I've just tried to use your approach, but it didn't help. It asked for permission to use keychain when I tried to connect first time, but the connection again wasn't created. – LA_ – 2014-01-10T18:37:26.917@LA_, how do you mean
the connection wasn't created
? it didn't connect, or save the connection? and did you try it with the port added also? – l'L'l – 2014-01-10T19:16:33.9971Unfortunately,
mount_webdav
doesn't return any result in both cases when connection is established and when it is not. So, each time I check the result by verifying content of/Volumes/temp
. So, after command execution,/Volumes/temp
was empty. I've tried with port number and without,https
andhttp
. – LA_ – 2014-01-10T19:55:44.030@LA_, are the login credentials being stored in the keychain and being used for the connection? from what you're describing it almost appears as if it's not. – l'L'l – 2014-01-10T20:05:11.383
I do not know how to check if they are really used, but when I try to connect, OSX asks my permission to use the keychain data. – LA_ – 2014-01-11T07:32:55.437
Btw, when I input url with the port number in the keychain, port number is automatically deleted after record saving. – LA_ – 2014-01-11T07:36:52.670
Here is some instruction how to pass login and name to mount_webdav - http://hints.macworld.com/article.php?story=20020207214002198&query=mount_webdav, but I can not understand it :(
– LA_ – 2014-01-11T08:01:09.483