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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1. Check the internet connection settings in Internet Explorer, and make sure it isn't set to offline mode.

2. Please enable FTP logging in Configuration - Options - FTP. This also enables logging in plugins. Then enable detail logging in the connection settings (within the cloud plugin, properties of the connection).
Author of Total Commander
https://www.ghisler.com
fecho
Junior Member
Junior Member
Posts: 2
Joined: 2016-02-15, 07:53 UTC

Post by *fecho »

Hi ghisler!

Well, I checked the Internet settings, and FTP settings in the TC. I did not find problem. Connect is online, FTP mode is active. I installed the plugin Google Drive, similarly it is not working. My question is: what are the necessary conditions OAuth2 has to connect. (Security Settings, SSL, etc.)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe you have an outdated internet explorer installed. Try using the cloud plugin with integrated Chromium browser:
http://www.ghisler.com/plugins.htm#filesys
direct download:
https://plugins.ghisler.com/fsplugins/cloudplugin_chromium1.07.rar
Author of Total Commander
https://www.ghisler.com
kris_jag
Junior Member
Junior Member
Posts: 4
Joined: 2016-04-18, 15:05 UTC

Post by *kris_jag »

Thank you ghisler for this plugin!

I would like to use Total Commander to manually synchronise some OneDrive folders, that are not synchronised in my OneDrive client software (in MS OneDrive client application you can chose, which folders are to be synchronised in local folder). Total Commander with Your Cloud plugin would be perfect for that task, but there is one problem: in Date column there are values from "created_time" that I think are date/time of uploading of particular files, so they differ from "client_update_time" (that are displayed at Date column for local files). Because dates are different, synchronisation tool in Total Commander mark them, as different files :/

For example (from properties of one file displayed in Cloud plugin):

client_updated_time 2015-10-15T12:13:03+0000 (that equals the value from Date column for my local file)
created_time 2016-01-05T12:43:25+0000 (that is displayed in Date column in Cloud plugin)

So my question - would it be possible to display in Date column in Cloud plugin values from "client_updated_time" (and use this values in Synchronisation tool) instead of values from "created_time" (or make it optional, if some users for some reasons would prefer present state)?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually Total Commander uses yet another time: updated_time

When you press Alt+Enter on a file, you should see the two (in GMT, not local time). Do they differ? Here, updated_time and client_updated_time are the same. Do you know what the difference is?
Author of Total Commander
https://www.ghisler.com
kris_jag
Junior Member
Junior Member
Posts: 4
Joined: 2016-04-18, 15:05 UTC

Post by *kris_jag »

Thanks for an answer.

Example for one file:

In Cloud plugin side: (Alt-Enter window)
client_updated_time 2015-10-21T15:33:15+0000
created_time 2016-01-05T12:44:01+0000
updated_time 2016-01-05T12:44:01+0000
Value from Date column: 2016-01-05 13:44 (so related to updated_time, after conversion to local time)

In local folder: (from Properties - values in local time)
Created time: 2015-10-14 14:19:49
Modified (updated time): 2015-10-21 17:33:15
Value from Date column: 2015-10-21 17:33 (so related to updated_time)

In my case in Cloud plugin values for client_updated_time and updated_time differ: client_updated_time equals updated time for this file on my computer (after conversion to GMT), whilst updated_time in plugin I suppose is related to time of uploading to OneDrive.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

How were the files uploaded? Using Microsoft's OneDrive client?
Author of Total Commander
https://www.ghisler.com
kris_jag
Junior Member
Junior Member
Posts: 4
Joined: 2016-04-18, 15:05 UTC

Post by *kris_jag »

Yes. This computer was for some time not synchronised with OneDrive, so is such large difference between local updated time and uploading time.

I just made another test:

1) At computer unconnected from OneDrive MS client, inside OneDrive folder created txt file
2) Connected this computer to OneDrive (via MS client), and then folder has been synchronised (file has been uploaded, at www - onedrive.live.com time is displayed correctly)
3) I copied this file from OneDrive via Cloud plugin

Times in Date column in Total Commander ("updated times") for original file and one downloaded by Cloud plugin are different...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It looks like Microsoft changed that since I wrote this plugin: since updated_time cannot be updated, they must have added client_updated_time.

I will check whether I can support that somehow with the available API.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

A new version of the plugin is available now.

Download here (v 1.08):
https://plugins.ghisler.com/fsplugins/cloudplugin1.08.zip

What's new?
1. OneDrive: Suppress script errors when logging in via Web login dialog
2. Use client_updated_time field for timestamps

The bad news: The Microsoft OneDrive API does not seem to support the upload of the file with its timestamp. Here are the upload docs:
https://dev.onedrive.com/items/upload_put.htm
and here is a list of available functions:
https://dev.onedrive.com/resources/item.htm
Author of Total Commander
https://www.ghisler.com
kris_jag
Junior Member
Junior Member
Posts: 4
Joined: 2016-04-18, 15:05 UTC

Post by *kris_jag »

Thank you ghisler for your efforts in finding solution of the problem with the timestapms in onedrive - much appreciated!
I am now on trip, but within a few days I will try updated plugin.
woutermense
Junior Member
Junior Member
Posts: 8
Joined: 2015-08-19, 10:53 UTC

Post by *woutermense »

I'm trying to use this plugin together with the synchronize directories functionality in Total Commander to synchronise files with OneDrive on a machine where OneDrive itself isn't installed and I don't have admin rights.

I'm running into a few problems where it seems to choke on certain files and folders. My assumption is that it's concerning accented file names.

Another thing is that during the process of syncing at some point I'm getting the "invalid grant" message popup.

And another problem I'm facing is that some folders seem to get created in the wrong location (root folder instead of a subfolder).

I hope you can help me out with these :)
peg
Junior Member
Junior Member
Posts: 8
Joined: 2006-12-01, 09:22 UTC

OneDrive from Office 365

Post by *peg »

There are two OneDrives.
OneDrive for Home (https://onedrive.live.com). And second one is OneDrive for Business ([url]https://some_company-my.sharepoint.com[/url]), which is part of Microsoft Office 365 (https://products.office.com/en/sharepoint).
Is The Cloud Plugin able to access OneDrive for Business?
Thank you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Is The Cloud Plugin able to access OneDrive for Business?
No, unfortunately not. The two only have the name in common. One needs a special OneDrive for Business developer account to be allowed to write apps to it, which seems to be available only with MSDN Enterprise subscription (I only have Visual Studio Professional with MSDN subscription). Additionally you need a MS Office 365 subscription.
Author of Total Commander
https://www.ghisler.com
stanly01@excite.com
Junior Member
Junior Member
Posts: 6
Joined: 2016-06-10, 01:12 UTC

Post by *stanly01@excite.com »

How to use "cloudplugin" to connect to the cloud? How to start it?

Thanks,
Stanly
Post Reply