DokanCloudFS icon indicating copy to clipboard operation
DokanCloudFS copied to clipboard

Webdav mount problem

Open acosonic opened this issue 8 years ago • 4 comments

I was able to mount and login to webdav, but cannot see files, and cannot perform upload says (please remove write protection).

Same credentials work with winscp

acosonic avatar Apr 27 '17 06:04 acosonic

Hi @acosonic,

I'm afraid you'll have to be a bit more specific as to what backend service you're trying to access via WebDAV. I just re-ran the online tests in CloudFS and everything appeared to work as expected - w.r.t. MagentaCloud as my default WebDAV service provider. You can assert basic connectivity to your WebDAV service by running the //CloudFS.GenericAsyncGatewayTests// (specifically TryAuthenticateAsync_..., NewFileItemAsync_..., NewDirectoryItemAsync...) with just the WebDAV gateway configured in the App.config file of CloudFS.GatewayTests. Furthermore, could you please double check your mount options - a mistaken use of DokanOptions.WriteProtection could possibly explain this behaviour.

viciousviper avatar Apr 27 '17 21:04 viciousviper

Also, I've had past issues related to encoding of non-ASCII characters in login credentials. Maybe you can temporarily change your credentials to simple characters and digits and re-check.

viciousviper avatar Apr 27 '17 22:04 viciousviper

Well, here is my config file with test credentials for my test webserver (no ssl), my production server is on SSL, you can try using attached file also, password is bobo1234.

It's Redmine's DMSF plugin, running on dev4rack (old version), I've instructed developer to switch to new Ruby gem version maintained by Planio GMBH

However that webdav works well with Total Commander's webdav plugin, and with winscp, also windows mount works without errors on SSL version. IgorSoft.DokanCloudFS.Mounter.exe.zip

acosonic avatar Apr 28 '17 05:04 acosonic

After trying to connect to the site referenced in your config I'm more inclined to the theory that there's something amiss in your WebDAV server settings.

Here is what I tried:

  • reran the CloudFS tests configured against MagentaCloud -> SUCCESS
  • ran the same tests against your server
    • TryAuthenticateAsync (after providing the credentials you specified) -> SUCCESS
    • GetDriveAsync -> FAILURE (404 not found)
    • all other tests -> FAILURE (404 not found)

I then downloaded a simple standalone WebDAV client (CarotDAV) and used its connection test feature.

  • MagentaCloud using my credentials: SUCCESS with supported features including PROPFIND, DAV class 1, DAV class 2, HTTP/1.1, Resolve DNS, Valid URI and others
  • your site using your credentials: FAILURE with Rei.Fs.RemoteResourceNotFoundException: Remote Resource Not Found ---> Rei.Fs.SimpleWebException: ... (404) Not found.

I'd say its your turn again.

viciousviper avatar Apr 28 '17 17:04 viciousviper