[Zope] Changing the name of a python class in FTP Client directory listing
Jean-François Ménard
jeanfrancoismenard@msn.com
Tue, 5 Mar 2002 18:30:04 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C1C473.C4B2F470
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have some custom python classes in a product that I want to be =
available via FTP. =20
The problem is: Classes instances have some very beautifuls names like =
"3253474252.12" ...
How could I send the (real) name of the documents to FTP clients?=20
I tried to override manage_FTPlist with no success...
Bonus question... I would like to create custom classes instances from =
FTP PUT requests, probably based on file extension. Any ideas? :))
Jeff
------=_NextPart_000_0005_01C1C473.C4B2F470
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!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.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have some custom python classes in a =
product that=20
I want to be available via FTP. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The problem is: Classes instances =
have some=20
very beautifuls names like "3253474252.12" ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How could I send the (real) name =
of the=20
documents to FTP clients?=20
<DIV><FONT face=3DArial size=3D2>I tried to override manage_FTPlist with =
no=20
success...</FONT></DIV>
<DIV> </DIV>
<DIV>Bonus question... I would like to create custom classes =
instances=20
from FTP PUT requests, probably based on file extension. Any =
ideas?=20
:))</DIV>
<DIV> </DIV>
<DIV>Jeff</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0005_01C1C473.C4B2F470--