Posted: 2010-08-23 11:12
I have found something odd when I have one WinSCP connection to two different servers which is making life difficult. I hope it becomes clear with this:
1. I have one open WinSCP window with two open sessions. The sessions connect to two different servers, serv1 and serv2. Now the structure on both these servers are the same /home/username/testdir.
2. In testdir on both severs I have a file named test1.txt. Now,I have this file opened from both servers at once.
3. Then I choose serv1 from opened sessions and I write "from serv1" in test1.txt (from serv1). I save this and then update the test1.txt from serv2 and I have the text "from serv1". test1.txt in serv2 is overwritten by the information from text1.txt in serv1!
Now, if I just change the session back to serv2 and update, the original text from text1.txt will appear again.
However, if I do not change the session back to serv2 but I add something to test1.txt from serv2 and save while the opened session is still serv1, then I cannot change the session to serv2, update and recover the original file. Then the file is permanently overwritten.
The problem only occurs when the file path and the file name is exactly the same for both server, i.e., /home/username/testdir/test1.txt
Using WinSCP 4.2.8 Build 818 with "Explorer" interface on Windows 7.
Problem was there aslo for WinSCP 4.2.7, same setup.
Session protocol = SSH-2
SSH implementation = OpenSSH_4.3
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3
Location: Prague, Czechia
Thanks for your post. This bug has been added to tracker.
You can post new topics in this forum
And it's free!