function _ftp_cdn_get_filelist in CDN 5
2 calls to _ftp_cdn_get_filelist()
- ftp_cdn_cron_perform_sync in sync_plugins/
ftp.inc - Implementation of pseudo-hook hook_cdn_cron_perform_sync().
- _ftp_cdn_cron_sync_deletion in sync_plugins/
ftp.inc
File
- sync_plugins/
ftp.inc, line 162 - FTP synchronization plugin for the CDN integration module.
Code
function _ftp_cdn_get_filelist($fs, $path) {
static $filelist = array();
if (!isset($filelist[$path])) {
$filelist[$path] = _ftp_cdn_parse_filesizes_recursive_rawlist(ftp_rawlist($fs, $path, TRUE));
cdn_log('Retrieved full list of files and file sizes for path "' . $path . '".');
}
return $filelist[$path];
}