пятница, 29 апреля 2011 г.

SyncBackPro V5 (commercial) :: RE: Concurrent behaviour over SFTP

Author: Dave Wilkins
Posted: Tue Apr 26, 2011 8:57 pm (GMT 0)

I doubt anyone can tell you definitively. It would depend for one thing on the behavior of the SFTP server if two or more clients tried to access the same file. If the first one to try caused the server to lock the file, then the second one to try would presumably get a 'file in use' error, and that second profile would record a Failure because of it (but would carry on with the next file).

If the SFTP server did not lock the file, then conceivably corruption could occur, yes. It depends to a great extent whether both clients were trying to write at the same time, or one read, one write, but you could still get corruption (incorrect data) being read if the file was being written to at the same time as it was being read

Frankly I would arrange for segregation of access unless you're sure. Think about what would happen if somehow a corrupt file was created, then opened locally and edited (LastModified stamp changed, anyhow). It could happen that next time around, this corrupt/edited version looks the newest and gets propagated back to the SFTP server - and then to all the clients...
_________________
Follow us on Twitter: http://twitter.com/2brightsparks/

Have you taken the profiles backup survey?

video surveillance software virtual machine software

Комментариев нет:

Отправить комментарий