Hello all,

I have a problem about sending file to user. I made one zip file containing one text 
file and send this file to user. User only receives the file but no content in it. 
What's wrong I made to this script?

my script:

$file="test.zip";

print <<"HeaderSent";
Content-Type: application/octet-stream; name="$file" 
Content-Transfer-Encoding: base64 
Content-Disposition: attachment; filename="$file" 
Expires=0

HeaderSent


TIA.

Krung
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to