diff --git a/magmi/inc/remotefilegetter.php b/magmi/inc/remotefilegetter.php index b41fe17e..3e2db306 100644 --- a/magmi/inc/remotefilegetter.php +++ b/magmi/inc/remotefilegetter.php @@ -79,6 +79,8 @@ public function initBaseOptions($protocol, $mode) break; case 'dl': $curlopts=array( + //longer timeouts for big files + CURLOPT_TIMEOUT =>600, // force get CURLOPT_HTTPGET=>true, // no header @@ -108,7 +110,7 @@ public function initBaseOptions($protocol, $mode) case 'ftp': $curlopts = array( //longer timeouts for big files - CURLOPT_TIMEOUT =>300, + CURLOPT_TIMEOUT =>600, //use binary CURLOPT_BINARYTRANSFER=>true, CURLOPT_FOLLOWLOCATION=> 1,