function zoomapi_download_recording_curl_write in Zoom API 7.2
The cURL write function to save the file to disk.
1 string reference to 'zoomapi_download_recording_curl_write'
- zoomapi_api_download_recording in ./
zoomapi.api.inc - Download Recording.
File
- ./
zoomapi.module, line 1239 - Main file for the Zoom API module.
Code
function zoomapi_download_recording_curl_write(&$ch, $data) {
$options = zoomapi_get_transfer_options();
$data_length = 0;
if ($fp = @fopen($options['filepath'], 'a')) {
fwrite($fp, $data);
fclose($fp);
$data_length = strlen($data);
}
return $data_length;
}