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

You mean the last chunk?
What about my question: Can you use smaller chunks for slower connection? Or use smaller chunks when upload failed?
Andrzej P. Wozniak
Polish subforum moderator
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) »

Yes, you need to edit the ini file manually and add the line
uploadBlockLimit=<size in kbytes>
to the section of the connection. For example,
uploadBlockLimit=10240
will use blocks of 10240 kBytes, or 10 MBytes.
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 »

Thanks for the info, I will test that setting.
However, the question is a little bit different:
Can the plugin automatically use smaller chunk size when upload fails and save settings when upload is succesful?
Andrzej P. Wozniak
Polish subforum moderator
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) »

No it can't. Do you see any more details in the log when enabling detailed logging for the connection? Maybe it shows you why the upload failed.
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 »

I will do some tests with enabled detailed logging in and uploadBlockLimit set for different chunk sizes and send you the log by email.
Andrzej P. Wozniak
Polish subforum moderator
pplupo
Member
Member
Posts: 102
Joined: 2019-12-02, 16:26 UTC
Location: Canada
Contact:

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

Post by *pplupo »

Can you please consider supporting Proton's drive?
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

If I delete (right-click menu -> Delete) for example a OneDrive account, I have to restart TC or click the [Disconnect] button in the FTP bar to see that the account(folder) is deleted.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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) »

Not confirmed. Here is what I tried
F7, enter a name like abc, OK.
Right click on abc, Delete -> it disappears immediately.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

Try:
F7.
Enter a name abc.
Choose "Onedrive New" as service provider.
Enter user name for an existing account.
Choose a browser (Microsoft Edge) for login.
Close the dialog.
Double-click on abc - login via the browser.
Leave the abc account folder (Backspace).
Right-click on abc and choose delete - the abc folder is still visible.
Click on the [Disconnect] button.
Re-enter \\\Cloud - now abc has dissapeared.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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) »

Try disconnecting BEFORE deleting the folder. The folder has to remain while there is still a connection open.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

Maybe for a future version an alert telling to disconnect, before the deletion takes effect could be an idea.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
LogicDaemon
Junior Member
Junior Member
Posts: 20
Joined: 2012-07-29, 18:12 UTC
Location: Russia
Contact:

Increased timeout required for Yandex Disk

Post by *LogicDaemon »

I've successfully set up Cloud plugin for my Yandex Disk account, and uploading small files and downloading any files works fine.
However, when I upload large files, it times out after the transfer.

rclone also had this problem and they offer a workaround – increasing timeout to 60 minutes or more (I actually found that original 5 minutes timeout isn't enough even for 1 GB files).

However, I found no way to increase timeout in tccloud plugin. Is it missing? If yes, please fix it someday :-)
LogicDaemon
Junior Member
Junior Member
Posts: 20
Joined: 2012-07-29, 18:12 UTC
Location: Russia
Contact:

Re:

Post by *LogicDaemon »

ghisler(Author) wrote: 2015-09-09, 07:21 UTC
From what I see Yandex also doesn't support a timestamp when you copy from a local file, or it's just a bug??
It doesn't support it.
but it supports custom properties.
rclone, for example, stores and retrieves dates in

Code: Select all

custom_properties:rclone_modified
(copied from "Properties" window of Total Commander)
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) »

I tried setting a larger HTTP timeout with InternetSetOption(HttpHandle,INTERNET_OPTION_SEND_TIMEOUT,...
but it seems to be ignored.
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)
I suspect that it may be some timeout set for every chunk on the server side. In this case only setting smaller chunk size in plugin may help. It's worth a try at least.
Does uploadBlockLimit option work for all supported cloud drives?

In my case OneDrive works without timeouts with settings:
uploadBlockLimit=30720
or
uploadBlockLimit=33280
Behaviour for larger chunks is unpredictable, though there are less broken connections when uploading in the night (probably because of smaller server load).
Andrzej P. Wozniak
Polish subforum moderator
Post Reply