SftpClient.fsync
SftpOperation!bool fsync(const(ubyte)[] handle)Flushes written data of an open handle to stable storage through fsync@openssh.com version 1.
Completing this operation confirms durability; channel acceptance of earlier writes does not.
Parameters
handle | Handle opened for writing. |
Returns
An operation completed by the server status response.
Throws
SftpException when the extension is not advertised or
its version is not 1.