Multi Commander Support Forum

Multi Commander => Script => Topic started by: Jean on September 21, 2022, 15:06:13

Title: MC.Explorer.Goto and ftp
Post by: Jean on September 21, 2022, 15:06:13
Hi,
I now have this little user command
Code: [Select]
MC.SetActivePanel PANEL=TOGGLE
MC.Explorer.NewBrowser
MC.Explorer.Goto PATH=ftp:\jcremers.com

And it is set to Ctrl-0 so every time i need to update something on the server i can just use the keypress.

However on each successful connect it also adds another ftp icon on the top of the window, and after a while it sometimes won't even connect anymore.
Is there a way i can keep or re-use the first successful connection with the same script / keypress?

This is driving me crazy. The toolbar gets filled with ftp icons and when you click on them i just get an error beep because they are old and disconnected.
I disabled the error window because it's so small to click on the X to close it and it doesn't help the issue.
I'd like an easy reliable way to connect a panel to the ftp server with a keystroke. I'm must be missing something.