New plugin available: Cloud (access to Box, Dropbox, etc).
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
New plugin available: Cloud (access to Box, Dropbox, etc).
I have created a new plugin (based partially on the webDAV plugin) for Total Commander.
It allows to access the following clouds:
- Box
- Dropbox
- Google Drive
- Windows Live OneDrive (now also for business!)
- Microsoft Azure Datalake Store
- Yandex Drive
- New: Strato HiDrive
It is possible to create multiple accounts on all the services (by saving the login token with a master password) except for Yandex Drive. I couldn't find a logout link for Yandex drive. Maybe a Russian user knowing this service can help.
Currently supported functions:
- Upload
- Download
- Rename
- Delete
- New folder
- Detailed properties
The login is done in a separate program, either oauthbrowser2.exe based on Microsoft Edge WebView 2, or oauthbrowser(64).exe, which calls the Internet Explorer WebView control.
WARNING:
========
On Windows versions before 10, this plugin uses the Internet Explorer control to log into the cloud services. Unfortunately the services use cookies to save the login. Therefore it is NOT recommended to use this plugin on other people's computers, e.g. when running TC from USB stick.
New functions:
===========
2.60: Could not access files or folders with "+" in the name on Yandex Drive and Strato HiDrive (URL encoding problem)
2.50: WebView2 browser based on Edge WebView2 control
2.50: Strato HiDrive
2.50: Google drive: Support links, show Computers (if they contain the word "computer")
2.40: Fixed login problems to Microsoft Datalake Store
2.30: OneDrive for Business: Login was no longer possible
2.20: Downloads no longer worked with Google Drive
2.10: Access shared drives on Google Drive
2.00: Option to login with external browser installed on PC
1.11: Trying to move a folder from a Dropbox account to any other account (which doesn't work) would delete the folder. If this happened to you, login to www.dropbox.com and go to "Files" -> "Deleted files" to get them back
1.10: OneDrive for Business and Azure Datalake Store support added
1.09: Dropbox: Support new functions, the old will be disabled in June 2017 by Dropbox
1.08: OneDrive: Suppress script errors, use client_updated_time field
1.07: Google Drive: Access files shared by other users
1.07: Google Drive: Download documents from Google Docs, converter to docx, pdf etc.
1.06: Google Drive: Timestamp lost when renaming/remote copying files
1.05: Yandex: Support accents or cyrillic
1.05: OneDrive: Rename file when name contained spaces or accented characters
1.04: Copy/Move files between folders within an account
1.01: Copy properties of a file to clipboard, e.g. URL
Download here:
https://www.ghisler.com/cloudplugin.htm
Note: This plugin uses Edge or (on older Windows versions than 10) Internet Explorer to login. If you have troubles logging in, try one of the external browsers.
Problems on Windows XP:
1. Dropbox: Login only works with Chromium based browsers
2. Google drive: Login only works with Internet Explorer based browsers
3. OneDrive and Box cannot be accessed at all (due to
strong encryption not supported by Windows functions)
It allows to access the following clouds:
- Box
- Dropbox
- Google Drive
- Windows Live OneDrive (now also for business!)
- Microsoft Azure Datalake Store
- Yandex Drive
- New: Strato HiDrive
It is possible to create multiple accounts on all the services (by saving the login token with a master password) except for Yandex Drive. I couldn't find a logout link for Yandex drive. Maybe a Russian user knowing this service can help.
Currently supported functions:
- Upload
- Download
- Rename
- Delete
- New folder
- Detailed properties
The login is done in a separate program, either oauthbrowser2.exe based on Microsoft Edge WebView 2, or oauthbrowser(64).exe, which calls the Internet Explorer WebView control.
WARNING:
========
On Windows versions before 10, this plugin uses the Internet Explorer control to log into the cloud services. Unfortunately the services use cookies to save the login. Therefore it is NOT recommended to use this plugin on other people's computers, e.g. when running TC from USB stick.
New functions:
===========
2.60: Could not access files or folders with "+" in the name on Yandex Drive and Strato HiDrive (URL encoding problem)
2.50: WebView2 browser based on Edge WebView2 control
2.50: Strato HiDrive
2.50: Google drive: Support links, show Computers (if they contain the word "computer")
2.40: Fixed login problems to Microsoft Datalake Store
2.30: OneDrive for Business: Login was no longer possible
2.20: Downloads no longer worked with Google Drive
2.10: Access shared drives on Google Drive
2.00: Option to login with external browser installed on PC
1.11: Trying to move a folder from a Dropbox account to any other account (which doesn't work) would delete the folder. If this happened to you, login to www.dropbox.com and go to "Files" -> "Deleted files" to get them back
1.10: OneDrive for Business and Azure Datalake Store support added
1.09: Dropbox: Support new functions, the old will be disabled in June 2017 by Dropbox
1.08: OneDrive: Suppress script errors, use client_updated_time field
1.07: Google Drive: Access files shared by other users
1.07: Google Drive: Download documents from Google Docs, converter to docx, pdf etc.
1.06: Google Drive: Timestamp lost when renaming/remote copying files
1.05: Yandex: Support accents or cyrillic
1.05: OneDrive: Rename file when name contained spaces or accented characters
1.04: Copy/Move files between folders within an account
1.01: Copy properties of a file to clipboard, e.g. URL
Download here:
https://www.ghisler.com/cloudplugin.htm
Note: This plugin uses Edge or (on older Windows versions than 10) Internet Explorer to login. If you have troubles logging in, try one of the external browsers.
Problems on Windows XP:
1. Dropbox: Login only works with Chromium based browsers
2. Google drive: Login only works with Internet Explorer based browsers
3. OneDrive and Box cannot be accessed at all (due to
strong encryption not supported by Windows functions)
Last edited by ghisler(Author) on 2017-11-29, 11:13 UTC, edited 14 times in total.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Christian, very nice indeed.
I did a short test on 4 of the 5 cloud providers (I'm not using Yandex) and everything seems to work out of the box. I'll check in more detail later on.
Would it be feasible somewhere in time to add support for providers copy.com and tresorit?
One design concern:
Normally one would use the cloud plugin on a computer where the normal cloud client software is NOT installed, so typically someone else's PC. Due to the storage of cookies this is deemed unsafe. Seems like a catch-22 situation.
Regards, EricB
I did a short test on 4 of the 5 cloud providers (I'm not using Yandex) and everything seems to work out of the box. I'll check in more detail later on.
Would it be feasible somewhere in time to add support for providers copy.com and tresorit?
One design concern:
Normally one would use the cloud plugin on a computer where the normal cloud client software is NOT installed, so typically someone else's PC. Due to the storage of cookies this is deemed unsafe. Seems like a catch-22 situation.
Regards, EricB
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
Tried with DropBox. Logged in, told TC not to remember pwd, but clicking Allow, got error message "invalid_grant".
I'm on WinXPProSP3 with IE8.
Error log looks like this (I deleted info on cookie?):
POST /1/oauth2/token HTTP/1.1
Error: 400 Bad Request
POST /1/oauth2/token HTTP/1.1
Error: 400 Bad Request
POST /1/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: cloudplugin/1.0 TotalCommander/8.5 (Windows/XP; en_EN)
Host: api.dropbox.com
Content-Length: 199
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ________________________
******Received headers
HTTP/1.1 400 Bad Request
Server: nginx
Date: Thu, 11 Dec 2014 18:22:10 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Error: 400 Bad Request
I'm on WinXPProSP3 with IE8.
Error log looks like this (I deleted info on cookie?):
POST /1/oauth2/token HTTP/1.1
Error: 400 Bad Request
POST /1/oauth2/token HTTP/1.1
Error: 400 Bad Request
POST /1/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: cloudplugin/1.0 TotalCommander/8.5 (Windows/XP; en_EN)
Host: api.dropbox.com
Content-Length: 199
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: ________________________
******Received headers
HTTP/1.1 400 Bad Request
Server: nginx
Date: Thu, 11 Dec 2014 18:22:10 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Error: 400 Bad Request
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2EricB
Thanks for trying my plugin!
1. They support a public REST API (which is just special HTTPS calls)
2. They do not forbid the usage by third parties
3. They do not forbig the usage on Windows.
For example, the "Orange" cloud someone suggested allows 1+3, but not 2: There is a rule that it's not allowed to implement a different programming interface for their service. But a Total Commander plugin is essentially a programming interface...
2Jon Canale
Sorry, no idea what could be wrong - I just retried without saving the password, no problem at all. The plugin is authorized for production by Dropbox. I can't find any error reports in the Dropbox developer account either.
Could you try again? Maybe Dropbox was just down when you tried?
Thanks for trying my plugin!
I can add providers under the following conditions:Would it be feasible somewhere in time to add support for providers copy.com and tresorit?
1. They support a public REST API (which is just special HTTPS calls)
2. They do not forbid the usage by third parties
3. They do not forbig the usage on Windows.
For example, the "Orange" cloud someone suggested allows 1+3, but not 2: There is a rule that it's not allowed to implement a different programming interface for their service. But a Total Commander plugin is essentially a programming interface...
2Jon Canale
Sorry, no idea what could be wrong - I just retried without saving the password, no problem at all. The plugin is authorized for production by Dropbox. I can't find any error reports in the Dropbox developer account either.
Could you try again? Maybe Dropbox was just down when you tried?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
@ghisler wow this is a nice plugin tried it with dropbox and onedrive, dropbox works great (upload/download/rename/delete), onedrive is a bit buggy it doesn't remember the password between tc restarts, I'm having problems with renaming/deleting files on onedrive, if I copy a file to onedrive I need to relogon to rename twice or delete it.
I upload a file 1.txt, I can rename it to 2.txt but then I can't rename it back to 1.txt it states it's write protected
ps could you add mega support
https://mega.co.nz/sdk.zip
I upload a file 1.txt, I can rename it to 2.txt but then I can't rename it back to 1.txt it states it's write protected
ps could you add mega support
https://mega.co.nz/sdk.zip
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
Just tried it again. I get same error message, "invalid_grant". Logged in using Chrome, and had no problem, using same login and same id. Can do the same thing in IE8.
I don't have the Dropbox software installed on my machine - I'm just logging into a browser window - https://www.dropbox.com/login.
Again, WinXPPro, sp3. TC 8.51a
I don't have the Dropbox software installed on my machine - I'm just logging into a browser window - https://www.dropbox.com/login.
Again, WinXPPro, sp3. TC 8.51a
@Jon Canale I noticed the default plugin setting was to use ie's proxy, do you use a proxy, try a direct connection I re-tested dropbox and it works good.
ps. I also don't have dropbox's app I connect with a browser.
ps.ps tested with google drive too, no problems so far.
ps. I also don't have dropbox's app I connect with a browser.
ps.ps tested with google drive too, no problems so far.
Last edited by iana on 2014-12-12, 23:31 UTC, edited 1 time in total.
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
Changed to direct connection instead of proxy, still got invalid_grant error. Clicked button to delete last proxy, restarted TC, tried again, still got invalid_grant error.
Here's the short error log:
POST /1/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: cloudplugin/1.0 TotalCommander/8.5 (Windows/XP; en_EN)
Host: api.dropbox.com
Content-Length: 199
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: xxxx(deleted)
******Received headers
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 13 Dec 2014 02:27:52 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Error: 400 Bad Request
Here's the short error log:
POST /1/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: cloudplugin/1.0 TotalCommander/8.5 (Windows/XP; en_EN)
Host: api.dropbox.com
Content-Length: 199
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: xxxx(deleted)
******Received headers
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 13 Dec 2014 02:27:52 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
Error: 400 Bad Request
2ghisler(Author)
The information about manual installation in the ReadMe.txt file seems to be incorrect.
The information about manual installation in the ReadMe.txt file seems to be incorrect.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2iana
Thanks for reporting the OneDrive plugin problem, I will try to reproduce it.
2Jon Canale
TC uses the Internet Explorer control. Please try logging in with IE to your Dropbox account - does it work? Btw, the Windows Dropbox client is NOT needed.
Thanks for reporting the OneDrive plugin problem, I will try to reproduce it.
2Jon Canale
TC uses the Internet Explorer control. Please try logging in with IE to your Dropbox account - does it work? Btw, the Windows Dropbox client is NOT needed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC
Funny, it wasn't until I upgraded my DropBox client that it worked for me - but maybe upgrading the client touched the box online in a way that made it accessible. Before that I got the "invalid_grant" several times.Btw, the Windows Dropbox client is NOT needed.
I have now tried both the 32bit and the 64bit version, and Box, Dropbox, Onedrive and Google Drive all works fine here under Windows XP, Windows 7 and Wndows 8.1.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Member
- Posts: 141
- Joined: 2003-02-07, 12:54 UTC