On Mon, 27 Jun 2022 14:17:43 +0000, Mark Jacobs wrote:
> ... With data locking so when server 'X' is writing the data, no other
> server can read it, and the reverse of course too. No data updates when data
> is being read.
>
With a Solaris FTP server I have relied on UNIX behavior:
...
PUT filename incoming/filename
RENAME incoming/filename filename
QUIT
o UNIX rename is preemptive -- it quietly replaces any existing copy.
o UNIX rename is atomic -- no other process will observe two
instances of "filename" or none.
o UNIX rename is nondisruptive -- a process which has open()ed a
descriptor on a file can continue to process that file via the descriptor
regardless of any rename() or ulink(). (Regina appears to violate
this; perhaps it does a stat() before each STREAM I/O operation.)
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN