Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #4196

Re: Prevent overwriting files on FTP (need a Linux program)

From Kaz Kylheku <kaz@kylheku.com>
Newsgroups comp.programming
Subject Re: Prevent overwriting files on FTP (need a Linux program)
Date 2014-04-08 21:18 +0000
Organization Aioe.org NNTP Server
Message-ID <20140408141610.150@kylheku.com> (permalink)
References <li12jk$a5r$1@speranza.aioe.org> <20140408125201.830@kylheku.com> <li1m0k$17t$1@speranza.aioe.org>

Show all headers | View raw


On 2014-04-08, Victor Porton <porton@narod.ru> wrote:
> Kaz Kylheku wrote:
>> On 2014-04-08, Victor Porton <porton@narod.ru> wrote:
>>> I use Debian Linux.
>>>
>>> I edit files on an FTP server. I need to be warned when somebody else
>>> have written a file in order me not to overwrite it.
>> 
>> Then what do you do with your changes?
>
> If I see there may ve overwrites, I could resolve the problem manually. The 
> trouble is to know when there are conflicts, not how to resolve them.
>
>> Multiple people concurrently updating files is solved by version control.
>
> Yes I know...

Since this is comp.programming, we have programming tools.

Manually resolving conflicts is a decades-old approach belonging in the 1960's.
(By 1970's, we had version control.)

>> Instead of a FTP directory you have a shared repo, which handles
>> situations of changes to the same file (possibly conflicting ones).
>
> ... but version control software is not installed on our server :-( I am not 
> the admin neither have root password to solve this problem myself.

Use distributed version control among yourselves; and synchronize from an
off-server master repo to the files on the server. You can have more control
this way about what goes "live" and when.

Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Prevent overwriting files on FTP (need a Linux program) Victor Porton <porton@narod.ru> - 2014-04-08 17:54 +0300
  Re: Prevent overwriting files on FTP (need a Linux program) Kaz Kylheku <kaz@kylheku.com> - 2014-04-08 19:56 +0000
    Re: Prevent overwriting files on FTP (need a Linux program) Victor Porton <porton@narod.ru> - 2014-04-08 23:26 +0300
      Re: Prevent overwriting files on FTP (need a Linux program) Kaz Kylheku <kaz@kylheku.com> - 2014-04-08 21:18 +0000

csiph-web