This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Android plugin - Wifi transfer
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android Printable version
View previous topic :: View next topic  
Author Message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Fri Dec 15, 2017 9:36 am    Post subject: Reply with quote

Oooh – I got a new one:

Code:
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)
Back to top
View user's profile Send private message
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10893
Location: Bratislava, Slovakia

PostPosted: Fri Dec 15, 2017 4:48 pm    Post subject: Reply with quote

GeroZ,
A search for "cadaver" yields this:
"Via WIFI" WebDAV server not working

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Mon Dec 18, 2017 9:06 am    Post subject: Reply with quote

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.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Fri Dec 22, 2017 1:44 pm    Post subject: Reply with quote

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? Wink

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.
Back to top
View user's profile Send private message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Fri Dec 22, 2017 1:45 pm    Post subject: Reply with quote

Hacker wrote:
GeroZ,
A search for "cadaver" yields this:
"Via WIFI" WebDAV server not working
Roman


Thanks!
Back to top
View user's profile Send private message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Fri Dec 22, 2017 1:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Sun Dec 24, 2017 4:12 am    Post subject: Reply with quote

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!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Thu Dec 28, 2017 7:18 am    Post subject: Reply with quote

[img]https://lh3.googleusercontent.com/b-zzrM_buWoLIfofJgt-81vD4oXNlsFrMFWSdStBHbjSTsRt-r_Nq57ccw52Zh4rh4WmgiyH3hPTd-0wbMZnjJ9F17d8wRtFIO-drbzaodDgj3lVh04zqks1V7EC-d79NJkyG4VRM4c=w853-h896-no[/img]

(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).
Back to top
View user's profile Send private message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Thu Dec 28, 2017 7:26 am    Post subject: Reply with quote

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:
==============
Get dir: /2584
GET /2584/ HTTP/1.1
200 OK
Disconnected
Back to top
View user's profile Send private message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Thu Dec 28, 2017 7:39 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Fri Dec 29, 2017 9:10 am    Post subject: Reply with quote

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!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Fri Dec 29, 2017 2:01 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
denn
New Member
New Member


Joined: 03 Jan 2018
Posts: 1

PostPosted: Wed Jan 03, 2018 3:01 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
GeroZ
Junior Member
Junior Member


Joined: 13 Jan 2005
Posts: 17

PostPosted: Wed Jan 03, 2018 3:03 am    Post subject: Reply with quote

Hold on – internal beta-testing, new beta is imminent. Wink
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Thu Jan 04, 2018 5:13 am    Post subject: Reply with quote

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!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander for Android All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group