Re: RFC822Marshaller for all content uploaded with FTP/Webdav

Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <20060502175019.GP4634@cotia>
On Tue, May 02, 2006 at 07:35:16PM +0200, Roché Compaan wrote:
| I won't have time to write a PLIP and I need to fix this for the client
| now. I'd like to fix this in a way that might be usable by you.
| 
| I am hoping for an implementation that is a bit more intelligent as
| opposed to just having good defaults. IMO a very simple fix would be to
| not try to demarshall a file using RFC822Marshaller if it is not
| appropriate. Maybe even better would be to have an über marshaller that
| uses RFC882 when appropriate and upload files that are clearly not
| RFC822 compliant as files, not Plone documents.

That is exactly what I have in mind. One small issue is that we must
*not* read the whole file in memory. Usually reading a small chunk of
the file should be enough to detect which marshaller should be
used. This should optimally use the Marshall product to make these
settings overridable TTW.

| If we talk enough in this thread, we might say enough to derive a PLIP
| from :-)

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.