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

Post by *ghisler(Author) »

2) I have fixed it, new version is here:
https://plugins.ghisler.com/fsplugins/cloudplugin1.02.zip

The problem was indeed a bug in the timestamp parser of Google Drive!
The Google Drive docs say that it expects timestamps in RFC 3339 format. It even uses this format when returning file properties - you can try it yourself with Alt+Enter.
Here is a sample timestamp: 2015-04-13T19:29:30.056Z

The problem: It interprets the fractional seconds (milliseconds, heer: 0.056 seconds) as a time zone offset! However, that would like this:
2015-04-13T19:29:30+10:00

I'm now setting the milliseconds to 0, and it works as expected:
2015-04-13T19:29:30.000Z
Btw, the Z means UTC (Universal time, "Zulu" time, also known as GMT).

Please try it!
Author of Total Commander
https://www.ghisler.com
User avatar
Pelican
Junior Member
Junior Member
Posts: 9
Joined: 2015-04-13, 12:15 UTC

Post by *Pelican »

2) Christian, thanks, it seems to be ok now.

1) No, this behavior despite the compatibility mode, sorry. This bug ("This plugin requires Windows XP or newer") also observed on Win2003SP2+TotalCmd6.56 right now, for example.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2) Nice to hear that!

1) I have checked it - you also get this if you use versions of TC older than 8.0. TC8 was the first to support Unicode plugins. This plugin is Unicode only, so it requires TC8 or newer. I will change the error message accordingly.
Author of Total Commander
https://www.ghisler.com
User avatar
Pelican
Junior Member
Junior Member
Posts: 9
Joined: 2015-04-13, 12:15 UTC

Post by *Pelican »

ghisler(Author) wrote:1) I have checked it - you also get this if you use versions of TC older than 8.0. TC8 was the first to support Unicode plugins. This plugin is Unicode only, so it requires TC8 or newer.
Yes, I understood.

More precisely, it works since v7.50 :D
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Plugin incorrectly work with DropBox.
1) Can't upload any files to cloud
2) Can't delete file with name
Ascension+v1.9.0.20+[Full+-+Unlocked]
Error - Access Denied
3) plugin can't save account information (login-password) in his own directory, so, I can't work from USB stick on another computers and must reenter password each time.

All this work good with peleccom's plugin DropBox, but not work in Cloud plugin...
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

1) Just tried - no problem. Can you give me more details?
- does a simple test.txt with short text inside work
- if yes, what's the name of the failed upload?
- what's the size of the failed upload?
2) Just renamed a file to Ascension+v1.9.0.20+[Full+-+Unlocked] and then deleted it, no problem. Maybe it contains extra characters?
3) This is by design. Plugin will save the access TOKEN, but only if you set a master password.
Author of Total Commander
https://www.ghisler.com
StayAtHome
Junior Member
Junior Member
Posts: 13
Joined: 2003-07-14, 21:19 UTC
Location: Ukraine
Contact:

Post by *StayAtHome »

2ghisler(Author)
I confirm 2): bug on files with in name containing "+"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

How did you put that file on Dropbox? I don't have the problem when I put it there with TC, but that might avoid the problem.
Author of Total Commander
https://www.ghisler.com
StayAtHome
Junior Member
Junior Member
Posts: 13
Joined: 2003-07-14, 21:19 UTC
Location: Ukraine
Contact:

Post by *StayAtHome »

Yes, try put it with native Dropbox client
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Hi, Christian I have a question, because probably we will not find a way to get UID programmatically (i can't get any info from mail.ru support..), is there any chance to try other way of getting this UID like from this web?

http://appsmail.ru/platform/mail/(login)

User don't need to know his UID only login name & password, after provide this details at first time plugin can send HTTP request & read UID like from this website http://appsmail.ru/platform/mail/test : {"uid":"15600326224267896294"} & save it in config & use it later.
Maybe this way will also works, can we check this at least for test??



Regards
User avatar
Pelican
Junior Member
Junior Member
Posts: 9
Joined: 2015-04-13, 12:15 UTC

Post by *Pelican »

One more bug / feature: Google Drive allows to have multiple files with the same name in the folder. However, Cloud plugin does not have the option to "copy as is" when uploading a file with a name that already exists on the cloud drive, only standard "overwrite/rename/etc" dialog box.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48107
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2krasusczak
I'm indeed looking for a way to get the UID with a Web call from the user name and password. Unfortunately I couldn't find any api call to get it. I really wonder how they expect that someone writes a tool for their service when it's impossible to get the required UID. :(

2Pelican
This is indentional, having multiple files with the same name is very problematic because they are recognized by the name in TC.
Author of Total Commander
https://www.ghisler.com
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Post by *krasusczak »

Maybe the only chance to get this freaking UID is this "url2uid" web check, so only HTTP request/read will work here.., but you're right I have no idea how they creates tools for this service :x
User avatar
EricB
Senior Member
Senior Member
Posts: 355
Joined: 2008-03-25, 22:21 UTC
Location: The Netherlands

Post by *EricB »

Hi Christian,

Something I just noticed: I've configured multiple Dropboxes (different user names) in the plugin, and whenever accessing the second dropbox instance, I always see the content of the first. I also noticed that when changing a property of the first instance, this is immediately reflected in the properties for the second instance. It looks like some caching is taking place.
Is this due to the fact that Dropbox is also running on the PC that I'm using? It does not matter if I close down the dropbox application. It looks like the credentials are cached, since I do not get a OAuth login request (I see the OAuth popup appearing very shortly)... I'm not using the Store password option within the properties BTW.

Regards, EricB
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

LonerD wrote:DropBox.
1) Can't upload any files to cloud
Sometimes work, sometimes can't work... Can't find any regularity.
Peleccom's plugin DropBox work always.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Post Reply