Re: Also suffering premature deletion with UltraEdit
Maybe Ultraedit has some option to open each file in its own program instance???
In textpad you can allow multiple instances to run. This seemed to fix the cannot delete temp issue.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Maybe Ultraedit has some option to open each file in its own program instance???
I managed to use a, well, kind of, workaround: you need to make sure that Ultraedit is not running at all when editing a file from winscp. After editing close Ultraedit completely.
Why does the file and dir get deleted when using UE, but not when using Notepad?
It looks like there may be a race condition in the "Edit" code for external editors. When I try to edit a remote file, in either the Explorer or Commander interfaces, it looks like WinSCP creates a temporary directory, downloads the file to it, executes the external editor command line, and then immediately tries to delete the downloaded file and temporary directory.
Sometimes the external editor manages to read the file before WinSCP deletes it (although then there's no copy on disk); sometimes the editor doesn't get there in time and ends up opening a new document with that filename. In either case, since the editor has a file open in that temporary directory, WinSCP puts up an error alert about not being able to delete the temporary directory.
WinSCP doesn't notice when the file from the editor has been saved.
Current setup: WinSCP 3.1.0, build 165. Windows 2000. Using TextPad as an external editor.