You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am looking for an equivalent of a flush operation (something like fdatasync) that will ensure no data is in the buffer and is actually sent to the file over network.
The text was updated successfully, but these errors were encountered:
The library does not keep any buffers outside of your control, i.e. when the write operation returns the amount of data indicated by the return value was transferred and acknowledged by the server - it would be up the caller to repeat the write with the remaining data.
To instruct the remote server to flush data to disc on the other hand there is an FLUSH operation in the SMB2 protocol. That operation is not currently exposed via public API, but I would be pretty easy to add that to SmbFileOutputStream, if that is what you need.
Hi,
I am looking for an equivalent of a flush operation (something like fdatasync) that will ensure no data is in the buffer and is actually sent to the file over network.
The text was updated successfully, but these errors were encountered: