SftpClient.open

SftpOperation!(const(ubyte)[]) open(const(ubyte)[] path, uint flags, SftpAttrs attrs = SftpAttrs.init)

Opens or creates a remote file.

Parameters

pathRemote path (bytes passed through verbatim).
flagsSFTP open flags.
attrsInitial attributes for created files.

Returns

An operation carrying the opaque file handle on success.