e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

Add option to e_file::getRemoteFile() to prevent time out on larger files or slow connections. #5098

Closed CaMer0n closed 7 months ago

CaMer0n commented 7 months ago

Bug Description

e_file::getRemoteFile() could time out with larger files or slow connections.

Proposal

function getRemoteFile($remote_url, $local_file, $type = 'temp', $timeout = 40)
{

}