actindo ->docorg__file_put_contents
actindo -> docorg__file_put_contents: writes the given $data to $path. $data must be base64 encoded, even if you're trying to write plain text data.
Signaturstring docorg__file_put_contents( string $sid, string $path, string $data [, int $flags [, string $contentType]] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • string $path
    the path of the file to write to
     
  • string $data
    the BASE64 encoded data to write
     
  • int $flags
    Optional. Defaults to 0. Set flag to 8 to append the $data to $path instead of overwriting $path if it already exists
     
  • string $contentType
    Optional. If this parameter is omitted, the mime type is determined automatically
     
Returnsstring
array('ok' => bool, 'bytesWritten' => int)
 
Descriptionwrites the given $data to $path. $data must be base64 encoded, even if you're trying to write plain text data.
Using $flags you can opt to append $data to the given $path instead of overwriting it if it already exists.