Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Recommended text editor for multiple file editing

Bryan wrote:

I use Editpad Pro, and I've had the issue where I open a couple of files and after I edit them and try to upload them again, it tells me that it can't save to that directory. I have to end up saving them to my desktop and uploading them that way.

This was solved in the last release 3.7.2. You need to check "External editors opens multiple files in one window (process)" in Preferences > Editor.

Martin... Awesome program bro. You're a freaking genius... You've made my life easier and more secure.

You're welcome :-)
Bryan

Re: Recommended text editor for multiple file editing

Anonymous wrote:

martin wrote:

marek wrote:

In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already :-(

The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish. Therefore these temp-files lie around just as long the editor process started by WinSCP is still running.

So my suggestion (another sassy comment ;-) ) would be to monitor the temporary folder which have been created before starting the editor. If the folder itself or the contained files are locked by another process the user is still editing the files.

Admittedly this would be quite a huge effort for the little effect, but as many people out here I also really hate 10 editor windows cluttering my desktop...



I use Editpad Pro, and I've had the issue where I open a couple of files and after I edit them and try to upload them again, it tells me that it can't save to that directory. I have to end up saving them to my desktop and uploading them that way.

I got around this by using the Sync tool. I setup a local directory and a remote directory. Edit the file locally, and ta da... it syncs with the remote directory. It will copy/move any file you put in that specific local directory. I think that this is a better way than trying to right-click and edit. You can have a backup on your local machine if you want it, or it can delete the source file after it's been updated.

Martin... Awesome program bro. You're a freaking genius... You've made my life easier and more secure.

Bryan
martin

Re: Recommended text editor for multiple file editing

Gargaj wrote:

I'm all for it if there's a chance - where do I sign up? :D

I have sent you a link on your email (from your homepage).
Gargaj

Re: Recommended text editor for multiple file editing

martin wrote:

I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

It is already implemented and it will be included in the next release. See "Not Released Yet" chapter of version history. If you want I can provide you pre-release version for testing.

I'm all for it if there's a chance - where do I sign up? :D

// Gargaj / Conspiracy
// http://gargaj.umlaut.hu/
martin

Re: Recommended text editor for multiple file editing

I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

It is already implemented and it will be included in the next release. See "Not Released Yet" chapter of version history. If you want I can provide you pre-release version for testing.
Guest

Re: Recommended text editor for multiple file editing

Anonymous wrote:

The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish.

I could live with that... (I know it's partly a security issue as well, but still...)
How about some temporary option for it?

// Gargaj / Conspiracy
// http://gargaj.umlaut.hu/
martin

Re: Recommended text editor for multiple file editing

If the folder itself or the contained files are locked by another process the user is still editing the files.

Not every editor locks the opened files. So unfortunatelly this is not a solution, otherwise I would have done it this way already.
Guest

Re: Recommended text editor for multiple file editing

martin wrote:

marek wrote:

In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already :-(

The "problem" is Martin wants to avoid to have your temp-dir populated with lots of rubish. Therefore these temp-files lie around just as long the editor process started by WinSCP is still running.

So my suggestion (another sassy comment ;-) ) would be to monitor the temporary folder which have been created before starting the editor. If the folder itself or the contained files are locked by another process the user is still editing the files.

Admittedly this would be quite a huge effort for the little effect, but as many people out here I also really hate 10 editor windows cluttering my desktop...
Guest

Re: Recommended text editor for multiple file editing

Anonymous wrote:

martin wrote:

marek wrote:

In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already :-(

Bummer dude. I also would like to see this feature added. I use EditPadLite and it is a tab based MDI format. I love WinSCP tho! Keep it up!

I forgot to mention. It would be nice if you had an option to "Use Edit as Default command" instead of Open. I usually double click if I want to edit a file.
Guest

Re: Recommended text editor for multiple file editing

martin wrote:

marek wrote:

In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already :-(

Bummer dude. I also would like to see this feature added. I use EditPadLite and it is a tab based MDI format. I love WinSCP tho! Keep it up!
martin

Re: Recommended text editor for multiple file editing

marek wrote:

In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?

If it were that easy I would have done it already :-(
marek

Re: Recommended text editor for multiple file editing

martin wrote:

Just check "Allow multiple instances" option on General tab of Preferences dialog (in the editor).


In case you use the external text editor which does not allow multiple instance (or you do not wish to have it configured like this) then you're in trouble (you simply cannot save the other file except the firstly opened one). Can you modify the program to work also with MDI-style (single instance) editors?
martin

Re: Recommended text editor for multiple file editing

Just check "Allow multiple instances" option on General tab of Preferences dialog (in the editor).
Guest

Recommended text editor for multiple file editing

Hi!

I use Editplus as my text editor at the moment, but the new and promising multiple file uploading feature in WinSCP doesn't work there.

Can anyone recommend a programmers text editor that lets you use this feature?

Thank you in advance, and thanks to Martin Prikryl for his great work.