Cerberus transfers 0 byte files
Cerberus transfers an incomplete or allows the file to be deleted during upload. Is there a way to configure Cerberus to put the file on standby before commands are excepted to modify the file?
-
Hello.
If I'm understanding you correctly, you are looking to lock the file?
Files are normally locked during uploads. It could be possible for there to be an exception with SFTP is the client requests it but generally, a file is locked for writing/deleting/moving when it is open for upload.
The client dictates whether the file is locked during upload for SSH SFTP. The capability is built into the SSH SFTP protocol. so we lock by default.
FTP/S and HTTP/S don't have any way for the client to specify locking so the default mode for HTTPS and FTP/S uploads is an exclusive lock while the file is open for uploading (that means no one else can read or write to the file).
So, the default for protocols that don't allow the client to specify is to not allow anyone else to read/download the file while someone is uploading. SSH SFTP lets the client determine the locking.
0
Please sign in to leave a comment.
Comments
1 comment