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

Advertisement

lcriv
Guest

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

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?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: When remotely editing files with WinSCP with mult. users, have WinSCP only save changes.

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

Reply with quote

Advertisement

You can post new topics in this forum