Topic "When remotely editing files with WinSCP with mult. users, have WinSCP only save changes."

Author Message
lcriv

Guest


This seems like a big thing to ask for, but when WinSCP has multiple users editing the same file it overwrites changes one user makes with the changes a different user makes. Basically whoever saves the file last is whose changes take effect. This seems to be because WinSCP overwrites the file on the server with the remote file whenever a change is made (the way an FTP traditionally operates). Is there any way around this? Is there a way to make an FTP save the changes to a file only. I don't quite understand how synchronous file editing works, maybe the file has to be being edited on the server and not on the remote computers for this to work. Maybe the append option will allow the file editing to behave as if it were synchronous file editing by appending the changes to the file with every save by the individual remote users? What do you think?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
lcriv wrote:
Is there any way around this? Is there a way to make an FTP save the changes to a file only. I don't quite understand how synchronous file editing works, maybe the file has to be being edited on the server and not on the remote computers for this to work.

In general the best solution is to have support for this on the server. I can recommend you using CVS, which allows SSH authentication. If I would add the funtionality to the WinSCP I would do it the way CVS does. But I would not like to reinvent the wheel.
_________________
Martin Prikryl
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