[dev] Wrong filesize ???

Joel Vandal jvandal@subi.to
Wed, 10 Jul 2002 18:29:41 -0400


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
Hi,

A little bug with save/open file using Gollem.

When I save a file on my local disk, the filesize are truncated (ex. =
125Kb to 6bytes, 1.3Mb to 8.5Kb, etc...) so the file is invalid.

The Content-Lenght is not exact.. strlen($data) doesn't return the =
correct size;

--
Joel


---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>A little bug with save/open file using=20
Gollem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I save a file on my local disk, =
the filesize=20
are truncated (ex. 125Kb to 6bytes, 1.3Mb to 8.5Kb, etc...)&nbsp;so the =
file is=20
invalid.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The Content-Lenght is not exact.. =
strlen($data)=20
doesn't return the correct size;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Joel</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

---------------------- multipart/alternative attachment--