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: Stefan2, white, Hacker

Post Reply
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 44410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

No I haven't, sorry. Do you mean this change?
In my case OneDrive works without timeouts with settings:
uploadBlockLimit=30720
or
uploadBlockLimit=33280
Which one should I pick?
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1575
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

I think that 30720 would be safer.
Regards from Poland
Andrzej P. Wozniak
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 44410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

A new beta version of my cloud plugin is available now:
Cloud plugin 2.50 beta 6

What's new?
Beta 6:
- Onedrive: Use multiple of 320kBytes (30720k) by default for upload block size, and make sure a user-provided value is also a multiple of 320k

Beta 5:
- New internal oauth2 browser based on WebView2, will be called when WebView2 is installed and available (e.g. on recent versions of Windows 10 and 11)
- Support multiple accounts in login dialog of OneDrive and OneDrive New
- Google drive: Show "Computers" created by the Desktop backup function. The computers need to contain the word "computer" anywhere in their name to be visible
- Strato HiDrive: Support file uploads >2GB, upload in 50MB chunks with auto-resume on error/connection loss
- Don't delete local file when a download fails before a single byte has been received
- Yandex disk: Error transferring files containing special characters in the name like # or %, must be escaped

Please try it, especially the new login via WebView2 based on Edge!
You can recognize it by its title bar "Oauth2 login (webview 2)".
Please note that it will not work with Google Drive. Google forbids to use your own browsers for login.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 5454
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post by *Horst.Epp »

Tested ok, with OneDrive and the WebView2 based login.
Windows 11 Home x64 Version 22H2 (OS Build 22621.1194)
TC 10.52 x64 / x86
Everything 1.5.0.1335a (x64)
User avatar
patrickdrd
Junior Member
Junior Member
Posts: 52
Joined: 2006-06-06, 22:11 UTC

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

Post by *patrickdrd »

patrickdrd wrote: 2022-11-07, 09:59 UTC hello,
I tried to use DirSizeCalc to find empty directories on my gdrive and
I got this error message:
"Function not supported Content plugins + File system plugins"

is there any other way I can search for empty folders?
besides that, thumbnails don't work either,
is there any way these limitations be removed?
maybe in a future release?
User avatar
Hacker
Moderator
Moderator
Posts: 12643
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

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

Post by *Hacker »

patrickdrd,
Well, to support content plugins and thumbnails in filesystem plugins would mean that TC would need to download all the files before showing any thumbnails or content data.

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 44410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

Some cloud services actually provide thumbnails, all I would have to do is download them. However, this would result in thousands of requests per directory when there are many files, which may rate limit my plugin or even block it for overloading the system...
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1575
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

2ghisler(Author)
Can you make it configurable?
0 - don't download thumbnails
1 - download all thumbnails
n>1- download if there are less than n files (download only n thumbnails)
Regards from Poland
Andrzej P. Wozniak
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 44410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

No, sorry, I don't want to risk a ban of my plugin.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1575
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

2ghisler(Author)
And what about:
1 - download thumbnail for file under cursor
n < 50 - download thumbnails for selected files or files visible on the list
Regards from Poland
Andrzej P. Wozniak
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 44410
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

This can't be done from within the plugin, it would need modification of Total Commander too.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1575
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

So only n<Nmax for download n thumbnails is possible?
Regards from Poland
Andrzej P. Wozniak
KozakMak
Member
Member
Posts: 132
Joined: 2021-05-24, 12:39 UTC
Location: UA

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

Post by *KozakMak »

can EBWebView\ & tccloud.ini be stored in plugin dir instead of TC root?
sorry for my poor english
OS: Win7 TC: 10.52 x64
User avatar
petermad
Power Member
Power Member
Posts: 12311
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad »

KozakMak wrote: 2022-12-02, 06:11 UTC can EBWebView\ & tccloud.ini be stored in plugin dir instead of TC root?
This has nothing to do with the Cloud plugin, but the answer is yes.
License #524 (1994)
Danish Total Commander Translator
TC 10.52 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.4.1.1022 (x64)
TC 3.41 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2853
Joined: 2003-05-06, 11:46 UTC

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

Post by *Sir_SiLvA »

KozakMak wrote: 2022-12-02, 06:11 UTC can EBWebView\ & tccloud.ini be stored in plugin dir instead of TC root?
1. in edgeviewer.ini change

Code: Select all

[Chromium] 
UserDir=[your wanted path for EBWebView]
to store EBWebView whereever you like

2. tccloud.ini
Add to your wincmd.ini

Code: Select all

[ReplaceIniLocation]
cloudplugin.wfx=[your wanted path]tccloud.ini
to store tccloud.ini whereever you like

both support EnvVars so for example my EBWebView entry is UserDir=%TEMP%

HTH
Post Reply