ScpLocalFile.writeAll

bool writeAll(scope const(ubyte)[] data, ref string errorMessage)

Writes the whole buffer to the destination.

Parameters

dataBytes to write.
errorMessageReceives the failure description.

Returns

true when every byte was written.