[dev] [solved] bad filesize
Joel Vandal
jvandal@subi.to
Wed, 10 Jul 2002 19:58:39 -0400
This is a multi-part message in MIME format.
---------------------- multipart/alternative attachment
Hi,
Here is a patch that solve a problem of bad filesize on the VFS ftp =
backend. (Using Gollem).
Also, I have another problem. If my filename have multiple . (dot) in =
the filename, I get an error on IE6 when I try to download the file and =
the filename is only the extension.
If don't have multiple . in the filename, I can transfert the file =
without problem and the filesize is okay.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /repository/horde/lib/VFS/ftp.php,v
retrieving revision 1.7
diff -r1.7 ftp.php
65a66
>
67c68
< return implode('', file($tmpFile));
---
> return readfile($tmpFile) ;
---------------------- 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> </DIV>
<DIV><FONT face=3DArial size=3D2>Here is a patch that solve a problem of =
bad=20
filesize on the VFS ftp backend. (Using Gollem).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Also, I have another problem. If my =
filename have=20
multiple . (dot) in the filename, I get an error on IE6 when I try to =
download=20
the file and the filename is only the extension.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If don't have multiple . in the =
filename, I can=20
transfert the file without problem and the filesize is =
okay.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>RCS=20
file: /repository/horde/lib/VFS/ftp.php,v<BR>retrieving revision=20
1.7<BR></FONT><FONT face=3DArial size=3D2>diff -r1.7 <A=20
href=3D"ftp://ftp.php">ftp.php</A><BR>65a66<BR>><BR>67c68<BR>< =
; =20
return implode('',=20
file($tmpFile));<BR>---<BR>> =
=20
return readfile($tmpFile) ;<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
---------------------- multipart/alternative attachment--