Overwriting files when two servers with same path are open

Advertisement

raptor00
Joined:
Posts:
3
Location:
Turkey

Overwriting files when two servers with same path are open

I made notepad++ as default editor. I connect to server and then double click a file to open in notepad++ and save in notepad++ so it automatickly changes and uploads related files.

When i open two linux servers both having smae path system,
for example i open etc/hosts file in server1
and again open etc/hosts in server2
if i try to make changes in server2, it also tries to write changes to server1.
Because each connection doesnt have own folder in windows but they all have c://Temp/winscp/etc for example.
I think each conenction has to be downoaded to own folder in TEMP.

Reply with quote

Advertisement

DragonZX
Translator
Joined:
Posts:
25
Location:
St.Petersburg

Look at yoir settings. By default my editor (vscode) put it into AppData\Local\Temp\scp%session number%\etc\hosts ie different for each session (5.15.9)

Reply with quote

Advertisement

You can post new topics in this forum