Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
lcriv

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?