Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

WebDAV not working in 4.0.4?

9 Posts
2 Users
0 Likes
95 Views
(@ttrepper)
New Member
Joined: 2 weeks ago
Posts: 0
Topic starter  

Hi all, firstly thank you very very much for your awesome software. I love it. However - I struggle to get a webDAV share mounted. I have used the IP but it shows me a "mount failed" hint. In my server logs I do not even see a connection coming up and I wonder if I am missing something?

Here is my info:

Version: 4.0.4 (Build 26)
OS: macOS Ventura
Version 13.1 (Build 22C65)
Intel x86-64 (64 bits) application

I have tried all kinds of definitions (IP, name, with https-qualifier, without, both fields and one) but no one seems to work. Any hints would be highly appreciated. Thank you very much in advance

Thomas


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2359
 

Hi Thomas,

nice to hear you're appreciating ConnectMeNow 😁 

Sorry to hear you're running into an issue. Unfortunately, I have very little opportunities to test WebDAV (since I do not use it).
So when I did setup a WebDav on my webserver, I couldn't get a connection to work at all (tried commandline, ConnectMeNow, ForkLift).

Do you have a working example (through commandline mount_webdav) that works?


   
ReplyQuote
(@ttrepper)
New Member
Joined: 2 weeks ago
Posts: 0
Topic starter  

Hi Hans,

thank you very much for your quick answer. I tried from my mac with the commandline mount_webdav to my server and that works

the syntax is:

mount_webdav -i  https://ip:443/webDAV/path 

where -i is interactive mode and you have to provide U&P. In non-interactive mode the syntax is:

mount_webdav user:pass <at-sign>  https://ip:443/webDAV/path 

Interactive mode works and I see it on my server as well but I have not tried non-interactive mode because I have special characters in my PW which need to be escaped.

Is this what you mean by a "working example"?

Thank you very very much for your help again. :)

Thomas

This post was modified 2 weeks ago 3 times by ttrepper

   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2359
 

I did give it a try on my setup and for some reason that simply refuses to work form Terminal.

Example (cPanel likes to use port 2078 for this) failed:

mount_webdav -i  https://example.com:2078/public_html/testwebdav  ~/Mountpoints/davtest

The directory ~/Mountpoints/davtest exists, my firewall is not blocking port 2078, "-i" for interactive did ask for username and password.

The proper notation without "-i" should be (all part of the URL):

mount_webdav  https://username:password@example.com:2078/testwebdav  ~/MountPoints/davtest

But that doesn't seem to work either (no error message either, which seems a known issue with mount_webdav for a few years now already).
Mounting through Finder fails as well.

So yes that would be as close as it gets to a working example. Would be better (which you should NOT post here) to have a test account I could try. My specific setup on my server may be a reason why I cannot even get a basic connection going. 😊 

This post was modified 2 weeks ago by Hans

   
ReplyQuote
(@ttrepper)
New Member
Joined: 2 weeks ago
Posts: 0
Topic starter  

Thank you very very much Hans. Which Webserver do you use? I can share my Apache seetings if you wish or give you test access to my machine :)

Thomas


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2359
 

Hi Thomas,

I tested this on a webserver which runs cPanel, and I'd rather not tinker with the Apache config files outside of cPanel on that one.
I can try to see if I can run WebDAV on my QNAP - even though this may or may not be a good representation.

It is odd that it used to work in v3, since the mount code didn't really change.


   
ReplyQuote
(@ttrepper)
New Member
Joined: 2 weeks ago
Posts: 0
Topic starter  

Thank you very much Hans. When you debug the code - do you see that it establishes a connection?

Even if I enter an IP address into the server field I do not see anything in the server logs.


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2359
 

I see the connection already fail when using just mount_webdav in Terminal (not even touching CMN). 😞 


   
ReplyQuote
(@ttrepper)
New Member
Joined: 2 weeks ago
Posts: 0
Topic starter  

That is crazy Hans. mount_webdav works for me but not ConnectMeNow with the same credentials. How can I help you?


   
ReplyQuote
Share: