Files created by the remote upload feature are being created with upload_source = 'direct'. I guess the correct should be 'remote'.
Add this line after line 64 in /admin/tasks/process_remote_file_downloads.cron.php to correct this:
'upload_soure'=>'remote'
Obs: The last member of an array should not have a comma. In the files that I got here the array ends with a comma: 'max_file_size'=>UserPeer::getMaxUploadFilesize($userObj->level_id),
And I'm able to access this file via http and the task is executed. Add the following line in the top of the file (and in other tasks) to prevent its execution outside the cli:
if (php_sapi_name() != 'cli' && php_sapi_name() != 'cgi-fcgi') die('Out of CLI.');
Add this line after line 64 in /admin/tasks/process_remote_file_downloads.cron.php to correct this:
'upload_soure'=>'remote'
Obs: The last member of an array should not have a comma. In the files that I got here the array ends with a comma: 'max_file_size'=>UserPeer::getMaxUploadFilesize($userObj->level_id),
And I'm able to access this file via http and the task is executed. Add the following line in the top of the file (and in other tasks) to prevent its execution outside the cli:
if (php_sapi_name() != 'cli' && php_sapi_name() != 'cgi-fcgi') die('Out of CLI.');