note 118551 added to function.copy

From: Date: Sat, 26 Dec 2015 23:03:28 +0000
Subject: note 118551 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-204542@lists.php.net to get a copy of this message
Copying large files under Windows 8.1, from one NTFS filesystem to another NTFS filesystem, results in only the first 4 GiB copied and the rest of the file is ignored. So, if you think to have files larger than 4 GiB, instead of doing: copy($source,$destination); it is much better to do something like: exec("xcopy $source $destination"); I will check to see if this issue is valid also under Linux. It depends on PHP not being compiled in 64 bit mode? ---- Server IP: 72.52.91.14 Probable Submitter: 94.39.3.10 ---- Manual Page -- http://php.net/manual/en/function.copy.php Edit -- https://master.php.net/note/edit/118551 Del: integrated -- https://master.php.net/note/delete/118551/integrated Del: useless -- https://master.php.net/note/delete/118551/useless Del: bad code -- https://master.php.net/note/delete/118551/bad+code Del: spam -- https://master.php.net/note/delete/118551/spam Del: non-english -- https://master.php.net/note/delete/118551/non-english Del: in docs -- https://master.php.net/note/delete/118551/in+docs Del: other reasons-- https://master.php.net/note/delete/118551 Reject -- https://master.php.net/note/reject/118551 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204542) next »