|
|
[ List of Web Developer's Journal Discussion Groups | Contents | Search | Post | Reply | Next | Previous | Up ]
From: Nina1@bellsouth.net
Category: Category 1
Date: 09 Apr 1998
Time: 07:42:27
Remote Name: 207.53.40.62
I have not been able to download any thing since I installed the NetZip, and then tried to uninstall it, which I could not. When I try to download, I get a message that says "cannot find library files, or plugin found but not intializing properly. Is there a way I can take the NetZip completly off my hard drive or is that the answer to my problem? Be gentle with me I am only 2yrs old to this computer world. Please explain in easy terms if you can help.
Thanks in advance Nina
From: Erik Symonds
Category: Category 1
Date: 03 Nov 1997
Time: 08:39:15
Remote Name: 208.144.68.10
Subject: trouble with 'application/octet-stream' script From: eriks@haestad.com (Erik Symonds)
I am trying to create a script in PERL that will send the contents of a binary file when called from a form. It seems to 'work' with the exception being that the name of the file that I am sending is not being displayed. Is there a header, or other method, that I can use to send a name to the browser to use upon bringing up the save dialog box?
Here is the code: -------------------------- $file='file.bin';
print "Content-type: application/octet-stream\n\n"; open(OPENFILE, $file) || die "Cannot open $file: $!"; open(STDOUT);
binmode(OPENFILE); binmode(STDOUT);
while(<OPENFILE>) { print; }
close(OPENFILE); close(STDOUT);
exit --------------------------
If anyone can lend me a hand I would appreciate it!
Thanks In Advance, Erik
Sadly, neither Web Developer's Journal, Markland Communities, Inc., Paige Turner nor anyone else associated with sponsoring these discussion groups can in any way be held responsible for any advice given here. The great unwashed masses of the public Internet hang out here and freely offer advice to all who seek it and some who don't. Take any advice received here with the proverbial grain of salt.Last changed: October 01, 1998 |
|
|
Discuss Subscribe Search |