Home Suggestions & Bug Reports
This forum is intended for MultCloud Support Discussion.

Comments

  • // open a file to upload$fh = fopen('/tmp/file', 'rb');// upload the file in 1MB chunks$parts = array();while ($data = fread($fh, 1024 * 1024)) {    $part = $copy->sendData($data);    array_push($parts, $part);}// close the filefclose($fh);// finalize the file$copy->createFile('/copy-file-path', $parts);


Sign In or Register to comment.