application/x-zip-compresses MIME Type problem
by Syed Anwaruddin other posts by this author
Aug 31 2001 12:23PM messages near this date
view in the new Beta List Site
List Broken?
|
Re: application/x-zip-compresses MIME Type problem
Hi All,
I am using "application/x-zip-compressed" MIME type for downloading the
files.
Once I get the "Save As" Dialog box to save the downloaded files, If I keep
this "Save As" Dialog Box idle for more than 5 minutes and then click "OK"
to Save the downloaded file, I am getting an error message as " Network
error.Unable to save the file. Please reset the Peer".
When I save the downlaoded file immediately OR with in 5 minutes, It worked
fine.
The part of my code is as follows:
print "Content-Type: application/x-zip-compressed\n";
print "Content-disposition: attachment; filename=\"$zipfile\"\n\n";
binmode(ZIP);
while (<ZIP> ) {
print $_;
}
close(ZIP);
# cleanup - remove the zip file
unlink("$zipfile");
---------
----
--
-
I don't have any clue about this problem. I am getting this problem on UNIX
and NT. Please help me on this. Please let me know the "cause" for this
behaviour. Your help in this regard is greatly appreciated!!
Thanks in advance!!!
Syed.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
Thread:
Syed Anwaruddin
$Bill Luebkert
|