Suggestions for the SFTP plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Suggestions for the SFTP plugin

Post by *pandronic »

Hi,

I'm trying to switch to Total Commander for my developing needs and I have some suggestions for the SFTP plugin which I think would help a lot:

- Option to remember last used directory. I have a lot of directories on my server and usually the one that I want is 3 levels from root, so this feature would save some time
- Option to define a start directory - I don't want to connect to root when all the time I need to go in /var/www/
- Option to save an opened file when it's saved in an external editor ... saving on exit is very disruptive for one's workflow
- Possibility to add a button to the button bar to take you directly to your SFTP servers (or even better make Secure FTP appear in the drive list - ALT+F1,F2)
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

- Option to define a start directory
Just enter it right after the servername "MyServer/var/www/" ...
#5767 Personal license
CoolWater
Power Member
Power Member
Posts: 744
Joined: 2003-03-27, 16:33 UTC

Re: Suggestions for the SFTP plugin

Post by *CoolWater »

pandronic wrote:- Possibility to add a button to the button bar to take you directly to your SFTP servers
Enter as command: cd \\\Secure FTP\<your server>\var\www\
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Re: Suggestions for the SFTP plugin

Post by *pandronic »

Thanks for the tips, but how about an option to save an opened file when it's saved in an external editor (without closing said editor)?

P.S.: And I found something that looks like a bug - when I create a new file (shift+f4), I enter a filename that does not exist and I get a prompt saying: "Cannot create file, change name", although I can edit existing files and upload new files.
User avatar
blacky
Senior Member
Senior Member
Posts: 315
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Post by *blacky »

Hy,


did you try ?

New secure ftp plugin version 1.00


http://ghisler.com/plugins.htm#filesys
https://plugins.ghisler.com/fsplugins/sftpplug.zip


best regards
Blacky
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Post by *pandronic »

blacky wrote:Hy,


did you try ?

New secure ftp plugin version 1.00


http://ghisler.com/plugins.htm#filesys
https://plugins.ghisler.com/fsplugins/sftpplug.zip


best regards
Blacky
Yup, that's the one I'm using and having to close the editor every time really makes it unusable for programming.
larry99
Junior Member
Junior Member
Posts: 62
Joined: 2009-01-16, 16:03 UTC
Location: Germany

Post by *larry99 »

I agree, it would be very helpful to be able to transparently edit files on the server.

In the meantime I use a workaround but that is editor dependent. What I did: Create a button for a batch file that uses the path and filename of the current file and transforms it to a call of the editor with an scp-URL as the file argument. This works quite well with vim but should be possible with any editor that really can be used as a programmers editor.

The batch file was a bit tricky but you can use any scripting language you are comfortable with (after all you are a programmer aren't you ;-))

But still, your wish/request is very reasonable, I think.

-Larry
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Post by *JOUBE »

pandronic wrote:unusable for programming.
Use WinSCP instead. Tc is perfect, but not specialised for that. WinScp solves all your needs for programming.
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Post by *pandronic »

JOUBE wrote:
pandronic wrote:unusable for programming.
Use WinSCP instead. Tc is perfect, but not specialised for that. WinScp solves all your needs for programming.
Well I can use Notepad++ with the nppftp plugin, but having your file manager tightly integrated with your editor would be a better solution.
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Post by *JOUBE »

pandronic wrote:having your file manager tightly integrated with your editor would be a better solution.
No, another solution... Why: while developing, your folder on host side is very often - over hours - the same. No need for a file manager, only a down- and up-loader...

JOUBE
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Post by *pandronic »

JOUBE wrote:No, another solution... Why: while developing, your folder on host side is very often - over hours - the same. No need for a file manager, only a down- and up-loader...

JOUBE
I usually do my development online so I can work from home, from the office, from a cafe or from wherever I feel like it at the moment. I've been using Far Manager with the WinSCP plugin up until now, but the integrated editor is a little bit primitive and I feel the need to move on to something more advanced.

Well since this is v1 of the plugin I can only hope that in the (near?) future there will be some more development and polish on it.
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Post by *JOUBE »

pandronic wrote:I've been using Far Manager with the WinSCP plugin up until now, but the integrated editor is a little bit primitive and I feel the need to move on to something more advanced.
WinScp itself make use of every editor you configure and has no builtin editor. You can use it with Notebook++ for example. And - second - WinScp itself is a filemanager side by side relatively near to Tc (with synchronised directory change for example and so on).
pandronic wrote:Well since this is v1 of the plugin I can only hope that in the (near?) future there will be some more development and polish on it.
Problem is that this plugin is from ghisler(author) itself, and the in Tc ingetrated FTP-Client does not support this feature as well, so... We discussed it here: http://ghisler.ch/board/viewtopic.php?p=211771&highlight=#211771 (german)

JOUBE
pandronic
Junior Member
Junior Member
Posts: 8
Joined: 2010-11-12, 09:01 UTC

Post by *pandronic »

I've been checking out WinSCP for a while now and it's nowhere near as feature complete as TC or Far. Well, I guess I'll be using a mix of Notepad++ and Far until TC's Secure FTP plugin gets feature complete.

Cheers and thanks for the answers
Post Reply