April 9th, 2000, 06:19 PM
I'm looking for a way to download a File by specifying the exact URL, and then query the file size. Is this possible?
April 12th, 2000, 08:58 PM
This is for ascii files only (and I'm not sure if the size is still even close to right):
print strlen( implode("n", file($url)) ) ." ";
If you want to do it for binary try something like:
// dump fread($fd,insert_maximum_size_here) to a temp file