New plugin available: Cloud (access to Box, Dropbox, etc).

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tomerb
Junior Member
Junior Member
Posts: 11
Joined: 2021-02-12, 11:35 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *tomerb »

Hey, I'm experiencing a weird behavior,
I was using total commander 9.5, with cloud plugin 2.50beta3
it was working great for a long time, I had to create a new destination as I changed my onedrive business account,
I created a new destination (f7), it worked for a while but from time to time the upload halts and it keeps asking me for my secret password

I installed total commander 10.00, installed cloud plugin 2.50beta4
I create a new destination (f7), I fill in the data in the "connect to cloud" and click ok, but it won't show up in the list (the only option there is the "F7=new connection" item no matter what I try)

has anybody seen this kind of behavior? any clues on how to fix it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

It sounds like the directory of the wincmd.ini settings file is a location where you can't write, e.g. under program files. Plugins store their settings in the same directory, but under a different name, e.g. tccloud.ini. Please check in menu Help - About Total Commander what directory is configured there.
Author of Total Commander
https://www.ghisler.com
tomerb
Junior Member
Junior Member
Posts: 11
Joined: 2021-02-12, 11:35 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *tomerb »

ghisler(Author) wrote: 2022-05-03, 14:57 UTC It sounds like the directory of the wincmd.ini settings file is a location where you can't write, e.g. under program files. Plugins store their settings in the same directory, but under a different name, e.g. tccloud.ini. Please check in menu Help - About Total Commander what directory is configured there.
thanks for the reply! I went to %appdata%\ghisler and deleted the ini file, now it seems to save the new added destinations, thanks!!

I'm trying to upload 50gb to onedrive, it takes a while, once every few hours the "secret password dialog" pops up and pauses the upload,
is there any way to make it stop popping up?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

That must be happening when the session expires and the plugin needs to request a new access token (token renewal). The refresh token is stored in encrypted form and the plugin has to ask TC to decrypt it.
Author of Total Commander
https://www.ghisler.com
tomerb
Junior Member
Junior Member
Posts: 11
Joined: 2021-02-12, 11:35 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *tomerb »

ghisler(Author) wrote: 2022-05-04, 10:23 UTC That must be happening when the session expires and the plugin needs to request a new access token (token renewal). The refresh token is stored in encrypted form and the plugin has to ask TC to decrypt it.
any way to stop that from happening?
I'm trying to upload through the night and I'm not near the computer at all times, it could help a lot
SpeakingFish
Junior Member
Junior Member
Posts: 2
Joined: 2022-05-10, 12:10 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *SpeakingFish »

Hello ghisler.
Today Cloud plugin stops work with message
"Upgrade your browser to use Dropbox
Your current browser is not supported. We support the latest versions of the following browsers: ..."
Please check this.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *Horst.Epp »

There is nothing todo for Christian.
Dropbox changed their requirements.
You have to select another option in the Cloud plugin.
I use "Default Windows webbrowser (external)"
and my web browser is Firefox.
Works fine with Dropbox.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

The internal browser uses a web view control based on the ancient Internet Explorer. Unfortunately it's not possible to use the newer Edge as a web view, so you need to use an external browser as Horst.Epp suggested.

There is also a version of the plugin where the browser is based on an old Chromium version. It's huge, but with newer Chromium versions it would be even larger.
Author of Total Commander
https://www.ghisler.com
SpeakingFish
Junior Member
Junior Member
Posts: 2
Joined: 2022-05-10, 12:10 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *SpeakingFish »

Thanks. It works.
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *nsp »

ghisler(Author) wrote: 2022-05-10, 14:13 UTC The internal browser uses a web view control based on the ancient Internet Explorer. Unfortunately it's not possible to use the newer Edge as a web view, so you need to use an external browser as Horst.Epp suggested.

There is also a version of the plugin where the browser is based on an old Chromium version. It's huge, but with newer Chromium versions it would be even larger.
A) it is possible to use WebBrowser to fake newer edge version : (it was working on windows 10 64bit for some old application still using IE engine)
Each application need to have one entry in the registry.
  • For native aplication HLM or HCU : [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    "totalcmd64.exe"=dword:00002ee1
    • respectively [HKEY_CURRENT_USER\...]

  • For 32bit applications on 64 bit machines (only machine-wide): [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    "totalcmd.exe"=dword:00002ee1


B) Some application have been upgraded to use webview2 (you need to enable the feature on windows).
We do not use delphi but you can give a look here : https://blogs.msmvps.com/bsonnino/2021/03/20/using-the-webview2-in-a-delphi-app/
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

Thanks for the info, I thought that webview2 was still far away on the horizon.
B) The Cloud plugin is written in C/C++. What do you use? Since the included browser is standalone, the language I use doesn't really matter, but it would save me a lot of time if I could re-use some existing code.
Author of Total Commander
https://www.ghisler.com
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *nsp »

ghisler(Author) wrote: 2022-05-11, 07:06 UTC Thanks for the info, I thought that webview2 was still far away on the horizon.
B) The Cloud plugin is written in C/C++. What do you use? Since the included browser is standalone, the language I use doesn't really matter, but it would save me a lot of time if I could re-use some existing code.
Does this can help you ?
https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuides/Win32_GettingStarted

The applications my customer using webview2 (for SSO) are in C# .Net but i cannot share the code :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

That looks exactly like what I need, thank you!
Author of Total Commander
https://www.ghisler.com
msc
New Member
New Member
Posts: 1
Joined: 2022-05-16, 12:27 UTC

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *msc »

Are there any plans to enable the cloud plugin for Apple's iCloud? Any alternative for iCloud like WebDAV?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: Cloud (access to Box, Dropbox, etc).

Post by *ghisler(Author) »

Currently there are no plans to support Apple's iCloud, sorry.

You will need to use iCloud for Windows:
https://support.apple.com/en-us/HT204283
Author of Total Commander
https://www.ghisler.com
Post Reply