How to create new Cloud-Connection ?

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
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

How to create new Cloud-Connection ?

Post by *LittleBit »

I'm using a laptop with Win10
and I'm using FireFox as webbrowser.
I tested with TCv9.51 and TCv10.00
I'm using the Cloud-Plugin (v2.40).
But affter Install, I have trouble creating a new Cloud-connection.

when I select the Cloud-drive
I want to create a new Cloud-connection with F7.
* first step: a New folder name is requested and so I enter a name
* second step: the 'Connect to Cloud'-menu
- I select dropbox (but also tested with Google Drive)
- I enter my username(emailaddress)
- I selected 'No proxy' (but also tested with 'Proxy server')
But after "Ok",
no new connection is created.

How can I test why the Cloud-connection is not created ?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How to create new Cloud-Connection ?

Post by *Horst.Epp »

I have the Cloud plugin v2.5.
The field login is set to "Login with default Windows web browser"
This works fine with Firefox as default browser.
Using it for Dropbox and Google Drive
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

> have the Cloud plugin v2.5.
I believe latest version for download (https://www.ghisler.com/cloudplugin.htm ) is still v2.4
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Re: How to create new Cloud-Connection ?

Post by *deus-ex »

2LittleBit

You can download the recent beta of the cloud plugin here.
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

Ok, I installed Cloud-plugin beta 2.5 and continued testing with that version.

A) I did a few tests.... tested with:
* Test-1
- login: included webbrowser
- proxy: as in IE.
* Test-2
- login: default windows webbrowser
- proxy: no proxy
* Test-3
- login: Google Chrome
- proxy: no proxy
* Test-4
- login: choose program manually (C:\program files\Mozilla\firefox.com)
- proxy: no proxy
* Test-5
- login: Internet Explorer
- proxy: As in IE.
But the result is the same, No new Cloud connection is created.....

B) By the way,
I don't see a tccloud.ini file.
(I believe it should be in the \plugins\wfx\cloudplugin\ directory )

C) It seems the Cloud plugin is using a webbrowser for the authorization process.
But why ?... because entering a username/password in textfields, to be used in the API, should be ok, and prevents that a webbrowser is required.

Any suggestions to create a Cloud-connection ?
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

Suddenly, it works..( using as login: included webbrowser & proxy: no proxy )
And so a Cloud connections is now operational......
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Re: How to create new Cloud-Connection ?

Post by *deus-ex »

Horray, praise the Lord. :)

Perhaps you are accessing the plugin incorrectly. In Total Commander, either click on the 'Networkenvironment' button located next to the drive buttons on top of your file panel or press ALT+F1 respectively ALT+F2 to open the drive selection menu and select 'Networkenvironment'.

Move the cursor onto the entry 'CloudPlugin' and press enter. Upon the first start a text file with the following content is displayed showing the basic keyboard shortcuts of the plugin:

Code: Select all

Plugin help:
F7:	create new connection
F8/Del:	Delete connection
Enter	Connect
Alt+Enter Change options
Your cloud connections are stored in the file tccloud.ini, located in Total Commanders' main folder.

I think you should be covered to continue from here onwards.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to create new Cloud-Connection ?

Post by *ghisler(Author) »

It may be some kind of firewall: When using the internal browser, it passes the results to the plugin directly. But when using an external browser, the plugin creates a local web server to which the browser has to send the credentials. If a firewall blocks this server, or the Web browser is set to use a Web proxy also for local connections, then the browser cannot send the credentials to the plugin.
Author of Total Commander
https://www.ghisler.com
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

A) Creating a cloud Connection
I tried a few time and it didn't work smoothly.
But it is working now.
I actually experienced 2 problems.
a1) I didn't succeed to create the first cloud-connection item.
So firstly nothing appeared as a cloud-connection in the \\\cloud-list.
a2) At a certain moment a cloud-connection-item was display in the \\\cloud-list
But at that moment I didn't know you have to press Enter on the cloud-name
to start the web-authorization of the new cloud-connection.
I will do some extra testing to find out if a gateway is influencing my situation.

B) No tccloud.ini
In my main directory (c:\totalcmd with totalcmd.ini and my key-file) NO file tccloud.ini is located.
Also in the plugin directory ( c:\totalcmd\plugins\wfx\cloudplugin\ ) NO file tccloud.ini is located.

C) Can't delete a Cloud connection
When I try to delete a connection (using Del or F8)
the cloud connectionname remains to be displayed in the \\\Cloud-list.
So, How can I delete that Cloud-connection correctly ?

D) Upgrade internal webbrowser
When I create a cloud connection,
with
- cloud service provider: Dropbox
- login: included webbrowser
- proxy: no proxy
the OAuth2 login window pops up and displays
"Upgrade your browser to use Dropbox
Your current browser is not supported."
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

> B) No tccloud.ini
tccloud.ini is located in the C:\Windows directory
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

> C) Can't delete a Cloud connection
When I try to delete a connection (using Del or F8)
the cloud connection name remains to be displayed in the \\\Cloud-list.
But after exiting TC and restarting TC again, the cloud-connections is removed from the \\\Cloud-list.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: How to create new Cloud-Connection ?

Post by *ghisler(Author) »

tccloud.ini is located in the C:\Windows directory
No, it should be in the same directory as the wincmd.ini. See menu Help - About Total Commander what is set for its location.
If the wincmd.ini location is set to c:\windows, or anywhere under program files or program files (x86), the plugin will fail to save its settings.
Author of Total Commander
https://www.ghisler.com
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

ghisler(Author) wrote: 2021-12-06, 08:22 UTC
tccloud.ini is located in the C:\Windows directory
No, it should be in the same directory as the wincmd.ini. See menu Help - About Total Commander what is set for its location.
If the wincmd.ini location is set to c:\windows, or anywhere under program files or program files (x86), the plugin will fail to save its settings.
b1) totalcmd.ini contains:
[FileSystemPlugins]
Cloud=C:\totalcmd\plugins\wfx\cloudplugin\cloudplugin.wfx

b2) My desktop-icon (Win10) has the following properties:
Shortcuts-tab:
- Target: C:/TotalCmd/Totalcmd.ini /F=C:\TotalCmd/wcx_ftp.ini
- Comment: c:\totalcmd\totalcmd64.exe
and after installing the Cloud-plugin tccloud.ini is located in c:\windows

So how can I change the tccloud.ini location ?
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to create new Cloud-Connection ?

Post by *Stefan2 »

LittleBit wrote: 2021-12-06, 09:03 UTC So how can I change the tccloud.ini location ?

ghisler(Author) wrote:
>itccloud.ini should be in the same directory as the wincmd.ini



- See menu Help - About Total Commander what is the location of your wincmd.ini .
- Move the file C:\Windows\tccloud.ini to that location of the wincmd.ini .
- restart TC






 
LittleBit
Junior Member
Junior Member
Posts: 18
Joined: 2021-12-04, 19:52 UTC

Re: How to create new Cloud-Connection ?

Post by *LittleBit »

> itccloud.ini should be in the same directory as the wincmd.ini
The "should be" phrase confused me, and so I moved the file tccloud.ini manually.
Creating a cloud-connection is now working fine (with external webbrowser and no proxy).

>> C) Can't delete a Cloud connection
But deleting a cloud-connection is still only working after exiting&restarting TC.
Post Reply