[Zope-CMF] Re: FTP files upload

Vincenzo Di Somma vincenzo at reflab.it
Fri Oct 1 09:44:15 EDT 2004


Thnaks I will investigate that,
	vds

On Fri, 2004-10-01 at 12:46, Raphael Ritz wrote:
> Sidnei da Silva wrote:
> > On Fri, Oct 01, 2004 at 11:59:05AM +0200, Vincenzo Di Somma wrote:
> > | Hi all,
> > | I have the need of import binary files in a CMF portal via ftp, one by
> > | one or collected as folders.
> > | The portal type of the binary content created via ftp should not depend
> > | on the mime type but:
> > | 
> > |  - on the presence in a certain point of the path of an instance of a
> > | specific content type
> > | 
> > | OR
> > | 
> > |  - on the presence in the path of a content with a specific name
> > | 
> > | I don't have any specific requirements for the folders.
> > | The content type registry doesn't seems to be useful here.
> > | Hacking the PUT_factory method may help but I don't know what to do
> > | without monkey patch things around.
> > 
> > Why the content type registry would not be useful? Maybe all you need
> > is to create your own registry predicate.
> > 
> 
> or you create additional CTRs in your subfolders that
> you configure appropriately.
> 
> Raphael
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20041001/1e6935cc/attachment.bin


More information about the Zope-CMF mailing list