Page 4 of 9

Posted: 2017-12-15, 15:36 UTC
by GeroZ
Oooh – I got a new one:

Code: Select all

Rei.Fs.SimpleWebException: Unassumed PROPFIND response
Status: 200
   bei Rei.Fs.Webdav.WebdavFs.InnerGetInfo(Uri target, DepthType depth)
   bei Rei.Fs.Webdav.WebdavFs.GetInfoAndEntries(Uri targeturi)
   bei CarotDAV.CacheManager.GetInfoAndEntries(FsBase fs, Uri targeturi, Boolean enablecache)
   bei CarotDAV.MainForm.Fs_GetInfoAndInnerEntries(Uri uri, ResourceId id, ResourceId parentid, Boolean enablecache)

Posted: 2017-12-15, 22:48 UTC
by Hacker
GeroZ,
A search for "cadaver" yields this:
"Via WIFI" WebDAV server not working

Roman

Posted: 2017-12-18, 15:06 UTC
by ghisler(Author)
That's because myWebDAV server doesn't support the OPTIONS command. It reports that to the client in a valid response, but the client doesn't handle that.

Posted: 2017-12-22, 19:44 UTC
by GeroZ
ghisler(Author) wrote:My WiFi plugin does implement a complete WebDAV server […].
ghisler(Author) wrote:That's because myWebDAV server doesn't support the OPTIONS command. It reports that to the client in a valid response, but the client doesn't handle that.
So – which one is it? ;-)

Never mind. Don't worry. Problem is: At the moment I can't even get TCMD/Win with the official WebDAV plugin get to work to connect over to my Android, bummer.

TCMD/Win is 9.12/32Bit, WebDAV plugin is 2.9. TCMD/Android is 2.80, WLAN Transfer plugin is 2.02.

*headscratch*

———————————

Constructive criticism: How about adding a plain WebDAV server to replace/assist WiFi transfers? … I imagine there should be existing Open Source implementations that could work with little work.

Posted: 2017-12-22, 19:45 UTC
by GeroZ
Hacker wrote:GeroZ,
A search for "cadaver" yields this:
"Via WIFI" WebDAV server not working
Roman
Thanks!

Posted: 2017-12-22, 19:55 UTC
by GeroZ
GeroZ wrote:Never mind. Don't worry. Problem is: At the moment I can't even get TCMD/Win with the official WebDAV plugin get to work to connect over to my Android, bummer.

TCMD/Win is 9.12/32Bit, WebDAV plugin is 2.9. TCMD/Android is 2.80, WLAN Transfer plugin is 2.02.
Correction: Works fine in a "real" Windows 10/1709 in VMware Fusion. Does not work in wine 2.0.3 running on macOS 10.13.2.

Posted: 2017-12-24, 10:12 UTC
by ghisler(Author)
I have now added support for the clients cadaver and nautilus! It was much harder than I thought - just adding the OPTIONS command wasn't sufficient. I had to implement "connection: keep-alive" on the server. This mode keeps the http connection open and handles multiple commands over the same connection.

You can get the beta from the play store or via direct download:

Play store (it can take a few hours until you get the beta):
https://www.ghisler.com/betawifi
Direct:
http://www.totalcommander.ch/beta/tcandroidwifi203b6.apk

Please test it and report any bugs here!

Posted: 2017-12-28, 13:18 UTC
by GeroZ
Image: https://lh3.googleusercontent.com/b-zzrM_buWoLIfofJgt-81vD4oXNlsFrMFWSdStBHbjSTsRt-r_Nq57ccw52Zh4rh4WmgiyH3hPTd-0wbMZnjJ9F17d8wRtFIO-drbzaodDgj3lVh04zqks1V7EC-d79NJkyG4VRM4c=w853-h896-no

(Not sure if the image will come through, but you can always follow this link: https://photos.app.goo.gl/csWDXC3Pfotc3Ee12)

Halfway there: Both Mac Finder and Cadaver (Mac/Wine) connect via WebDAV to the phone.

However: Mac Finder shows an empty folder named "H", while cadaver simply reports "collection is empty".

… Windows 10 Explorer does not really connect via WebDAV: Pasting the WebDAV URL into the Explorer address bar (File Explorer, as opposed to Internet Explorer), it thinks about it for a moment – and then passes the URL over to the default browser (which is Chrome in my case).

Posted: 2017-12-28, 13:26 UTC
by GeroZ
In addition to that:

TCMD/Win in regular Win10 connects through to the phone using the WebDAV plugin. There are a lot of "PROPFIND" and "207 Multi-Status" log entries and whatnot.

TCMD through wine-2.0.3/Mac reports (hand-transcribed log – couldn't find a way to copy/paste it):

Code: Select all

==============
Get dir: /2584
GET /2584/ HTTP/1.1
200 OK
Disconnected

Posted: 2017-12-28, 13:39 UTC
by GeroZ
I stand corrected: The issues with Mac Finder and cadaver is either related to my Samsung Galaxy S7 or to Android 7 "Nougat".

I did the exact same experiment on my cheap-ass Lenovo A5500-F 8" tablet still running Android 4.4.2 – and both Finder and cadaver connect just fine.

… Only difference: cadaver is able to establish R/W access, while Mac Finder is limited to R/O. :-O Still no WebDAV access from Windows 10 Explorer.

Posted: 2017-12-29, 15:10 UTC
by ghisler(Author)
Thanks for your tests. I cannot help you with Mac finder, but maybe with the other problems you reported.

Please try beta 8:

Play store (it can take a few hours until you get the beta):
https://www.ghisler.com/betawifi
Direct:
http://www.totalcommander.ch/beta/tcandroidwifi203b8.apk

It works for me with Windows 10 Explorer, but has some limitations: If you get an error when trying to transfer a big file, please read this solution.

I have also updated the plugin to handle external media on Android 7 and 8, so it should work on you S7 now.

Please test it!

Posted: 2017-12-29, 20:01 UTC
by GeroZ
Confirmed!

It's exactly as you said – so for the record and for other users who'd like to reproduce your and my findings with Beta 8 of the WiFi Transfer plugin for TCMD/Android:

(1) (My) Samsung Galaxy S7 with Android 7 "Nougat" works fine, including accessing the external SD card – after confirming access to it.

(2) Windows 10 Explorer connects nicely via WebDAV – read/write.

(3) So does cadaver (in v0.23.3 on console on macOS 10.13.2) – also read/write.

(4) Mac Finder successfully connects, but presents the share just read/only.

(5) Workaround: Use ForkLift (currently free on the Mac App Store – I remember paying a few bucks for it some time ago, might be a seasonal discount, IDK).
It's important to establish the WebDAV connection through ForkLift, not to re-use the one established by Finder – which both show up in ForkLift, so it's easy to confuse them.
Rule of thumb: A network connection established with ForkLift will be visible only in ForkLift and not in the surrounding Finder. — And it will be read/write.

—————————

Thank you so much, Christian! I wish you a happy new year – keep on the great work! … After having paid for TCMD/Win such a long time ago, is there a way to compensate you for TCMD/Android? Like an … I don't know … donations button?

Posted: 2018-01-03, 09:01 UTC
by denn
Thank you for the beta version!

Whit it I now can upload files using Dolphin (KDE) to the internal memory.

But uploading to the SD-card (R/W) dosn't work. I always get a "Connection Error". But that also happens using the Webpage. Download works.

Posted: 2018-01-03, 09:03 UTC
by GeroZ
Hold on – internal beta-testing, new beta is imminent. ;-)

Posted: 2018-01-04, 11:13 UTC
by ghisler(Author)
Beta 9 is available now!

Play store (it can take a few hours until you get the latest beta):
https://www.ghisler.com/betawifi
Direct:
http://www.totalcommander.ch/beta/tcandroidwifi203b9.apk

What's new?
- Support for Mac Finder client
- Support for accents in file names in some clients
- Server: Send via LAN in addition to WLAN

Many thanks to GeroZ for the help debugging these problems!