write


Description:

public async bool write (string content = "", string base_type = "f", string target = "", uint unix_mode = 0)

Write on daemon (File.write).

base_type: f file (default), d directory, fa symlink. Directories and symlinks use empty content; symlinks set target. Optional unix_mode applies rwx after the op.

Returns:

false when RPC fails or path is empty