Re: [Zope-dev] File uploading with Zope

2005-11-04 Thread Thanh Hải ,
2005/11/3, Jens Vagelpohl <[EMAIL PROTECTED]>:

No it is not. And doing that opens up security risks. You need towrite a Python product or external method.jens
 
 Is there an example of how to implement it in external method or python product? 
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] File uploading with Zope

2005-11-03 Thread Thanh Hải ,
Hello,
 
Does anyone know to manipulate files within a local filesystem instead of ZODB? Is it possible to do that through a python script or dtml method? Thanks.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] ZSQL method and LIMIT clause

2005-11-03 Thread Thanh Hải ,
Thanks Stefan! Sticking max_rows:0 into the lead-in comment does the magic.
 
 
2005/11/3, Stefan H. Holek <[EMAIL PROTECTED]>:
*Everything* you can do in the ZMI can be done from code. The ZMI isnot a magic entity, it uses the same APIs as everybody else. With
FSZSQLMethods you can stick max_rows: 0 into the lead-in comment, BTW.StefanOn 3. Nov 2005, at 03:37, Thanh Hải, Hà wrote:>  My problem is I don't know to prevent Zope from adding "LIMIT
> 1000" to the> end of each of my ZSQL method (*.zsql). I am developing a> filesystem-based> product so I can not disable it by setting "Maximum Rows to> Retrieve" to> zero in the ZMI interface.
--Anything that happens, happens.  --Douglas Adams
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] ZSQL method and LIMIT clause

2005-11-02 Thread Thanh Hải ,
Hello,
 
My problem is I don't know to prevent Zope from adding "LIMIT 1000" to the end of each of my ZSQL method (*.zsql). I am developing a filesystem-based product so I can not disable it by setting "Maximum Rows to Retrieve" to zero in the ZMI interface. I got stuck with this problem for a couple of weeks (google search and read documentation didn't help). Any help is greatly appreciated.

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )