ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-web
perl-win32-web
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved