At Thursday 24/8/2006 13:55, Alan wrote:
Thanks a lot guys, it's working fine.
elif (func == 'Download'):
fname = os.path.join(jobdir,'results.zip')
file = open(fname,'rb').read()
self.REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip')
return file
Better use 'application/x-
Thanks a lot guys, it's working fine.
elif (func == 'Download'):
fname = os.path.join(jobdir,'results.zip')
file = open(fname,'rb').read()
self.REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip')
return file
Cheers,
Alan
On 24/08/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote
First of all an important correction:
The location of the 7th DZUG conference is at the technical College
in St. Augustin near Bonn and not as previously announced in Berlin.
The 7th DZUG conference meets on 14-15 September 2006 in St.Augustin
(near Bonn/ Rhein-Sieg Technical College) and *not*
At Thursday 24/8/2006 12:52, Alan wrote:
But for what I want LocalFS or ExtFile sounds too much, specially
because I just need to download. Either, I did not realise yet well
what Richard purposed... However, I tried that:
with a external method
fname = os.path.join(jobdir,'results.zip')
fi
- Original Message -
From: "Alan" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 24, 2006 11:52 AM
Subject: Re: Re: [Zope] download a file in a specific folder in the
filesystem
Hi! Thanks for your replies.
But for what I want LocalFS or ExtFile sounds too much, specially
because
Hi! Thanks for your replies.
But for what I want LocalFS or ExtFile sounds too much, specially
because I just need to download. Either, I did not realise yet well
what Richard purposed... However, I tried that:
with a external method
fname = os.path.join(jobdir,'results.zip')
file = open(fna
No matter how dumb he may be, its best not to heat yourself up for his
cause. It's just foolish and damaging yourself, Chris. :)
Beno, you have a serious problem that you still don't realise. You
need to read up on many things especially on smtp and/or qmail. You
mentioned that you have the exper
If you just want the file to be downloadable from say a web page served by zope you could make an object on your zope system (say a page template) that renders a page with a link to the file you wish to make available. The file would have to accessible to your web server. On 24 Aug 2006, at 16:00,
Hi Beno,
beno wrote:
> Well, all I know is that Pound has a strong following of Zopistas that
> use it in combination with Zope (and without Apache) for high volume
> production work and seem to be happy.
Odd, then, that you have not had much input on the list about that. I
can't provide numbers,
- Original Message -
From: "Alan" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 24, 2006 11:00 AM
Subject: [Zope] download a file in a specific folder in the filesystem
Dears,
I would to know how to download a file generated by a program outside
zope.
I mean, I would like to dow
Dears,
I would to know how to download a file generated by a program outside zope.
I mean, I would like to download a file via zope webserver and such a
file is located outside the zope space. Since zope treats everything
as a object I have know idea of how "importing" the link to a file
inside z
beno wrote:
Apparently, MailBoxer must be configured a little differently for qmail:
http://www.zope.org/Members/adytumsolutions/docs/MailBoxer
Fuck. When will you get the picture? NO ONE CARES!
/var/qmail/bin/smtp2zope.py
Is that correct?
This look like a qmail list to you?
Any chance y
beno wrote:
Well, all I know is that Pound has a strong following of Zopistas that
use it in combination with Zope (and without Apache) for high volume
production work and seem to be happy.
"strong" by who's definition? The odd numpty who asserts random
statements that happen to fit themselve
Hi;
Apparently, MailBoxer must be configured a little differently for qmail:
http://www.zope.org/Members/adytumsolutions/docs/MailBoxer
Following their advice, I created the following file:
server167# vi /var/qmail/alias/.qmail-rejoice
rejoice:"| smtp2zope.py
http://202
Philip Kilner wrote:
Hi,
beno wrote:
Apache duplicates 95% of what Zope's server does, so if you're only
using Zope, then it's un-elegant to use Apache.
Not so - Apache is a mature production web server, Zope is an
application server that serves over HTTP, but it's HTTP server is *not
Hi Max,
Max M wrote:
>> (Having seen a server wiped out via an IIS security hole, I just don't
>> trust it on a public IP - long time ago, but once bitten, twice shy!)
>
> Hmmm ... then try making a mistake in your apache httpd.conf and turn on
> proxy by mistake.
>
Sure - but I'm much more wor
David H wrote:
hang in there beno.
Would it be too rude to add "preferably by the neck"? ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist - Zope@zope.org
http://ma
On Wednesday 23 August 2006 15:36, beno wrote:
> > You're really not going to win any friends, or get any help, with this
> > approach.
> >
>
> Sometimes it's the only way to get past the arrogant belligerent list
> subscribers who choose to make miserable the lives of those of us who
> ask quest
Philip Kilner wrote:
Hi Chris,
Chris Withers wrote:
Personally, I'd just put Apache in front of both Zope and IIS...
Me too - simpler, better documented, safer.
(Having seen a server wiped out via an IIS security hole, I just don't
trust it on a public IP - long time ago, but once bitten, tw
19 matches
Mail list logo