...

View Full Version : Determine partial file size during download using PHP's copy() function



Cypher 101
02-18-2012, 02:38 AM
So I am downloading .flv video files from my remote server using the php copy() function, and saving them the my local site. I want to get the .tmp or file size at each interval of 1 second during the download for progress. Does php create a tmp file during this download operation?

IF not, is it possible to open the file and determine its size while it is being copied?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum