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
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 only works with all cloud services which support chunked uploads:
OneDrive old and new, Dropbox, Azure.
Author of Total Commander
https://www.ghisler.com
User avatar
kiwerry
Junior Member
Junior Member
Posts: 16
Joined: 2011-04-03, 12:54 UTC
Location: Dresden, Germany

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

Post by *kiwerry »

Thank you for this very useful Plugin :D
I use mydrive.ch but see that it is currently not supported - if MyDrive supports chunked transfer, could you please add it? They provide a client, but it would be handy to have it in TC along with the others.
I presume that if it were practicable to allow users to configure their own Cloud connections (as in FTP transfer) you would have done so.
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 »

Hi,
I'm using the cloud plugin to upload a large amount of files to onedrive,
for some reason it keeps asking for the master password once in a while (mostly when I'm not near the computer) which causes the upload to stop

is there any way to make it not ask for the master password?

thanks!
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) »

This happens when the OneDrive login token becomes invalid (it has a limited lifetime). It requires a reload of the credentials. TC forgets the master password when either the screen saver activates, or when you minimize 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 »

thanks for the reply,
I understand, any way to make it "not forget"? I'm aware there might be security risks , but at the moment all I want is to upload the files while it's left unattended
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post by *Dalai »

tomerb wrote: 2022-11-06, 13:21 UTCI understand, any way to make it "not forget"?
Take a look at TC's help, secction 4.b) wcx_ftp.ini, option KeepMasterPassword in section [General]:

Code: Select all

KeepMasterPassword=0
Allow to keep master password in memory when:
1: program is minimized
2: screen saver starts
3: both
Set it accordingly, restart TC (not sure that's necessary in this case) and you're good to go.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
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 »

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

Dalai wrote: 2022-11-06, 13:47 UTC
tomerb wrote: 2022-11-06, 13:21 UTCI understand, any way to make it "not forget"?
Take a look at TC's help, secction 4.b) wcx_ftp.ini, option KeepMasterPassword in section [General]:

Code: Select all

KeepMasterPassword=0
Allow to keep master password in memory when:
1: program is minimized
2: screen saver starts
3: both
Set it accordingly, restart TC (not sure that's necessary in this case) and you're good to go.

Regards
Dalai
Hey, I tried adding this key to the ini, didn't change much
are you sure it's supposed to affect the cloudplugin?
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post by *Dalai »

It's TC that manages the master password. Plugins can then make use of that master password, i.e. make TC request it from the user and so on. Did you put it into wcx_ftp.ini (not wincmd.ini), and in the correct section [General]?

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
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 »

Dalai wrote: 2022-11-07, 22:47 UTC It's TC that manages the master password. Plugins can then make use of that master password, i.e. make TC request it from the user and so on. Did you put it into wcx_ftp.ini (not wincmd.ini), and in the correct section [General]?

Regards
Dalai
I believe I did, in the wcx_ftp.ini file, under [General] I added the line "KeepMasterPassword=2" (there wasn't a KeepMasterPassword line there before)
I couldn't find the wcx_ftp.ini in the total commander folder, it was under %appdata%\GHISLER\wcx_ftp.ini - is that the correct path?
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post by *Dalai »

tomerb wrote: 2022-11-08, 15:31 UTC[...] under [General] I added the line "KeepMasterPassword=2" [...]
Which will TC allow to keep the master password only when the screen saver starts. It will still forget it when TC is minimized. Is that what you want?
I couldn't find the wcx_ftp.ini in the total commander folder, it was under %appdata%\GHISLER\wcx_ftp.ini - is that the correct path?
I don't know. You should use Configuration > Change settings files directly. This will open the correct configuration files regardless of where they're.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
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 »

Dalai, I'm sorry, I misspelled, the value in the file is 3, forget the number 2 that was in my message

Tried going to configuration>change settings file directory, got to the same file with the KeepMasterPassword value I added, yes
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post by *Dalai »

If it still doesn't work it's possible that the token expires and keeping the master password doesn't help. But that's jut a guess, and since I don't use this plugin (or a master password for that matter), I can only be of limited help. I hope Ghisler responds again.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
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) »

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

What's new?
- 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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

2ghisler(Author)
Have you changed default chunk size for OneDrive as I suggested?
Andrzej P. Wozniak
Polish subforum moderator
Post Reply