This seemed to work.
print "Content-type:application/whatever\n"."Content-Disposition:
attachment; filename=$file\n\n"
Thanks
Jon
*****
Jon Galliers [EMAIL PROTECTED]
Programmer Perl/C++/MySQL/DB2/Java
Design Net http
did anyone on the list work at razorfish uk?
At 01:04 PM 4/23/01 +0200, you wrote:
>On Mon, Apr 23, 2001 at 12:06:06PM +0100, Jon Galliers wrote:
> > The main problem is that the zipped file downloads as "NameOfCGIFile.zip"
> > and not "download.zip".
>
>I think you might like to have a loo
die "couldn't
open file $!";
flock (DOCZIP, 2);
print "Content-type:application/x-zip-compressed\n\n";
my $fileData;
while (read(DOCZIP, $fileData, 1024)) {
print $fileData;
}
unlink ("/web/www.website.com/docs/download.zip") or die "couldn't
I have a spare pc100 DIMM, 128Mb, CAS2. Could you use this.
Thanks
Jon
*
Jon Galliers [EMAIL PROTECTED]
Programmer Perl/C++/MySQL/DB2/Java
Design Net http://www.design.net.uk
Tel: +44(0)870 240 0088
Fax: +44(0)870 240
I know you're all probably bored with this, but I was even more bored and
checked out the site further
>(Although "Chris"'s website http://storedscripts.virtualave.net/ is quite,
>um, entertaining ...)
It seems Burak Kanber (bk?) is Chris's best friend.
Not bad for a 13 year old though, ('le
FileNamed("boris.zip") == AZ_OK or die "Zip write error";
>
>
>
>Greg
Thanks
Jon
*
Jon Galliers [EMAIL PROTECTED]
Programmer Perl/C++/MySQL/DB2/Java
Design Net http://www.design.net.uk
Tel: +44(0)870 240 0088
Fax: +44(0)870 240 0099
*
dn't set compression method $!";
die 'write error', $zip->writeToFileNamed( 'download.zip' ) != AZ_OK ;
TIA
Jon
*
Jon Galliers [EMAIL PROTECTED]
Programmer Perl/C++/MySQL/DB2/Java
Design Net http://www.design.net.uk
Tel: +44(0)870 240 0088
Fax: +44(0)870 240 0099
*
ty on February 1st at the Strongrooms
Bar EC1 that goes on till 2am; details from their website at
http://weare.preloaded.com .
*********
Jon Galliers [EMAIL PROTECTED]
Programmer Perl/C++/MySQL/DB2/Java
Design Net http://www.design.net.uk
mmercial' application
to compete? When you consider the spread and use of Perl has without formal
commercial support I don't think so.
Jon Galliers
Design Net
[1]and thinking I should contribute something to this list, even if it is an
incoherent ramble, and vowing that I'll make more effort to get to the next
meeting.
potentially a very dumb question, but how does someone now subscribe to the
london-pm list. Is it the same as:-
subscribe london-list
to
[EMAIL PROTECTED]
Thanks
Jon
Jon Galliers
Programmer
Design Net
***
11 matches
Mail list logo