Ftp_size returns wrong file size
| From: | Rudolf Visagie | Date: | Wed, 25 Sep 2002 08:58:43 +0000 |
| Subject: | Ftp_size returns wrong file size | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117535@lists.php.net to get a copy of this message | ||
Hi everybody,
Does anybody know why ftp_size returns the wrong file size? I get 1069602
bytes instead of 1065635 (which it should be) and 10458669 instead of
10419043. A difference of 3967 and 39626 does not really give me any clues.
I know the manual says that not all servers support this feature, but then I
suppose I should get -1 and not a numeric size.
Regards
Rudolf Visagie
Principal Software Developer
Digital Healthcare Solutions
<mailto:rudolf@dhsolutions.co.za>
Tel: 011 6901019
Cell: 082 895 1598