Add Servername to the temp file path

Advertisement

consistency
consistency avatar
Joined:
Posts:
54
Location:
austria

Add Servername to the temp file path

winscp creates the following file on edit:
C:\Users\username\AppData\Local\Temp\scp12499\etc\nginx\nginx.conf

if i manage a lot of servers (failover), i end up having 4 files open like
C:\Users\username\AppData\Local\Temp\scp12499\etc\nginx\nginx.conf
C:\Users\username\AppData\Local\Temp\scp12500\etc\nginx\nginx.conf
C:\Users\username\AppData\Local\Temp\scp12501\etc\nginx\nginx.conf
C:\Users\username\AppData\Local\Temp\scp12502\etc\nginx\nginx.conf

i cant see in my editor, if the file which i opened is from server "servername1" or "servername2" or....
so it would be cool, to just add the servername or the host to the temp path like
C:\Users\username\AppData\Local\Temp\winscp\12500\servername1\etc\nginx\nginx.conf
C:\Users\username\AppData\Local\Temp\winscp\12501\servername1\etc\nginx\nginx.conf

the numbers (12500 and 12501) can be kept or striped if not needed.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum