Topic "Consistent temp names for editing"

Author Message
dwierenga

Guest


Hello,

I'd like to request a feature to have the temporary file name be the same when opening a given file for editing.

For example, the Vim editor will remember things about your file (bookmarks, folds, debug tags, etc) when you close the file. If you open that file again, it will restore your bookmarks etc.

However, WinSCP creates a new temp file each time you edit it i.e. something like ".../scp12345/..." the first time and ".../scp67890/..." the second time. This ruins the ability of the editor to "remember" things for you about how you want the file set up for editing as it thinks it's opening a new file every time.

So, ideally, WinSCP could have some kind of setting whereby it would always use the same temp file for a given file path on a given host.

Thanks,
Dan

P.S. WinSCP is *awesome*, thanks for making it!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Do you to persist the path across runs of WinSCP? Because with the same run, WinSCP should use the same path.
_________________
Martin Prikryl
dwierenga

Guest


This is all within the same run.

1)Connect to my server with WinSCP.
2)Double-click a file in WinSCP to edit it. Opens a temp file on my local machine.
3) Edit the file, close it. WinSCP writes it to my server.
4) Double-click the file again, WinSCP opens it in a brand new temp file.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
What version of WinSCP are you using?
_________________
Martin Prikryl
dwierenga

Guest


version 4.2.5 build 624
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
dwierenga
[View user's profile]

Joined: 2010-01-13
Posts: 2
Done. The subject of my mail is winscp forum topic "Consistent temp names for editing"

Thanks!
dwierenga
[View user's profile]

Joined: 2010-01-13
Posts: 2
I sent the debug log to you.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License