[Zope3-Users] How to provide user to upload a large file(100M) with zope

2007-02-06 Thread Alex Cheng
I create a website with zope, but I need let my customers upload files from HTTP. How to provide user to upload a large file(100M) with zope? Thank you. :) -- powered by python ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] How to provide user to upload a large file(100M) with zope

2007-02-06 Thread Maciej Wisniowski
I create a website with zope, but I need let my customers upload files from HTTP. How to provide user to upload a large file(100M) with zope? Maybe http://www.infrae.com/products/tramline can help you. -- Maciej Wisniowski ___ Zope3-users mailing

Re: [Zope3-Users] Still a skinning problem

2007-02-06 Thread Mohsen Moeeni
Until the gurus find time to jump in with `the right` solution... On 2/5/07, Florian Lindner [EMAIL PROTECTED] wrote: The line in the template.pt: a tal:attributes=href context/@@index.html/@@absolute_urlhome/a works fine as long as context is an IXGM, because index.html is registered for IXGM.

Re: [Zope3-Users] How to provide user to upload a large file(100M) with zope

2007-02-06 Thread Stephan Richter
On Tuesday 06 February 2007 04:16, Alex Cheng wrote: I create a website with zope, but I need let my customers upload files from HTTP. How to provide user to upload a large file(100M) with zope? Have a look at z3c.extfile. It uses a WSGI middleware to store files in a directory and only stores

Re: [Zope3-Users] Dreamweaver

2007-02-06 Thread Stephan Richter
On Tuesday 06 February 2007 08:56, David Johnson wrote: Has anyone used Dreamweaver with Zope 3? Any suggestions or tips?   The Zope 3 insistence on ++resource++ is a problem.  I'm not sure I   understand what the motive of the ++resource++ is as opposed to   having files relative to the

[Zope3-Users] Will zope server crash when uploading huge files in the same time?

2007-02-06 Thread Alex Cheng
I design to use zope as our website, which users can upload their files. I am afraid that it will crash when a few malicious users upload huge files at the same time. Is there any machanism to avoid it in zope system? Thanks, Alex. -- powered by python

Re: [Zope3-Users] Will zope server crash when uploading huge files inthe same time?

2007-02-06 Thread Stephan Richter
On Tuesday 06 February 2007 12:32, Jonathan wrote: Just curious: did you implement the size quota via an apache directive (eg. LimitRequestBody) or is there some way to implement a size limitation within Zope without having the entire file object uploaded first and then having an 'after the

Re: [Zope3-Users] Will zope server crash when uploading huge files inthe same time?

2007-02-06 Thread Jonathan
- Original Message - From: Stephan Richter [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope3-users@zope.org Sent: Tuesday, February 06, 2007 1:11 PM Subject: Re: [Zope3-Users] Will zope server crash when uploading huge files inthe same time? On Tuesday 06 February 2007

Re: [Zope3-Users] Will zope server crash when uploading huge files inthe same time?

2007-02-06 Thread Paul Winkler
On Tue, Feb 06, 2007 at 01:29:36PM -0500, Jonathan wrote: Thanks. I was just wondering if there was some mechanism whereby zope was informed (by Apache acting as the reverse proxy) about a file 'as it was uploading' as opposed to 'after upload was completed' - while this would be a nice

Re: [Zope3-Users] Still a skinning problem

2007-02-06 Thread Florian Lindner
Am Dienstag, 6. Februar 2007 11:43 schrieb Mohsen Moeeni: Until the gurus find time to jump in with `the right` solution... On 2/5/07, Florian Lindner [EMAIL PROTECTED] wrote: The line in the template.pt: a tal:attributes=href context/@@index.html/@@absolute_urlhome/a works fine as long

Re: [Zope3-Users] Will zope server crash when uploading huge filesinthe same time?

2007-02-06 Thread Jonathan
- Original Message - From: Paul Winkler [EMAIL PROTECTED] To: zope3-users@zope.org Sent: Tuesday, February 06, 2007 1:54 PM Subject: Re: [Zope3-Users] Will zope server crash when uploading huge filesinthe same time? On Tue, Feb 06, 2007 at 01:29:36PM -0500, Jonathan wrote: Thanks.

[Zope3-Users] redirect to views dynamically

2007-02-06 Thread Dennis Schulz
Hello List, one question about views: I know that is is possible to register a default view for an object. Is there a way to decide, at runtime, which view to call? Maybe a traversal adapter can do this,but is there an easier way? Dennis ___

Re: [Zope3-Users] redirect to views dynamically

2007-02-06 Thread Stephan Richter
On Tuesday 06 February 2007 15:01, Dennis Schulz wrote: one question about views: I know that is is possible to register a default view for an object. Is there a way to decide, at runtime, which view to call? Maybe a traversal adapter can do this,but is there an easier way? Register a

Re: [Zope3-Users] Will zope server crash when uploading huge filesinthe same time?

2007-02-06 Thread Maciej Wisniowski
yes, but you don't get the HTTP headers (in a zope application) until after the file upload is completed. If you use Apache's LimitRequestBody directive you can limit file sizes uploaded by a user, but if the user exceeds this limit they get an apache error response (as opposed to something

Re: [Zope3-Users] redirect to views dynamically

2007-02-06 Thread FB
On Tue, Feb 06, 2007 at 09:01:06PM +0100, Dennis Schulz wrote: Hello List, one question about views: I know that is is possible to register a default view for an object. Is there a way to decide, at runtime, which view to call? Maybe a traversal adapter can do this,but is there an

Re: [Zope3-Users] Will zope server crash when uploading huge filesinthe same time?

2007-02-06 Thread Jonathan
- Original Message - From: Maciej Wisniowski [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Paul Winkler [EMAIL PROTECTED]; zope3-users@zope.org Sent: Tuesday, February 06, 2007 3:22 PM Subject: Re: [Zope3-Users] Will zope server crash when uploading huge filesinthe same time?

[Zope3-Users] broken formlib - form.txt example

2007-02-06 Thread Vinny
Hello, Platform details: # pkg_info | grep zope zope-3.3.0 An object-based web application platform # uname -a FreeBSD the.palaceofretention.ca 6.2-RELEASE #1: # python Python 2.4.3 (#2, Dec 26 2006, 16:13:56) [GCC 3.4.4 [FreeBSD] 20050518] on freebsd6 Using IDLE 1.1.3 Using

Re: [Zope3-Users] broken formlib - form.txt example

2007-02-06 Thread Tom Dossis
Vinny wrote: Using instructions from: /usr/local/www/Zope3/lib/python/zope/formlib/form.txt With code straight out of it typed into the IDLE editor, saved as form.py and run using the F5 command: Saving and running this gives: ComponentLookupError:

[Zope3-Users] Re: broken formlib - form.txt example

2007-02-06 Thread Jürgen Kartnaller
Vinny, why not using form.Form to derive from : class MyForm(form.Form): form_fields = form.Fields(IOrder, omit_readonly=True) Register this as a page and you are up and running. Jürgen Vinny wrote: Hello, Platform details: # pkg_info | grep zope zope-3.3.0 An object-based