[Zope] Insert file through ftp.

Tino Wildenhain tino@wildenhain.de
Wed, 30 May 2001 23:50:05 +0200


Hi After (is this your name?)

you simply cant. At least not with the standard
Folder object. To do that, you need a subclass
or another class which overrides Folder objects
behavior. This must be a product in python.

An idea of mine was to let classes negotiate which
type of files they want and let the user decide,
which classes he wants in a folder-like object.
(like you can do with your own sublcass of ObjectManager,
but only affecting the management interface)

Many things to do....

Regards
Tino

--On Mittwoch, 30. Mai 2001 14:21 -0400 After Dark <afterz@zipmail.com> 
wrote:

>
> Can I insert a file throuht ftp and define its type or
> change it later?
>
> I made a product PrX ,with OFS.File and Catalog, and I want
> to put many files into my project and that its type to be of
> PrX. I think that the easiest way to do that is through ftp.
>
> There are 2005 files to insert with the meta_type of PrX,
> wouldn`t be possible to do one each time. How can I do
> that??
>
> --
> --Ricardo Kohler
>           Costa
> ________________________________________________
> Don't E-Mail, ZipMail! http://www.zipmail.com/
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )