Back to the Web Developer's Journal Main Page
internet.com
side nav bar
CGI Discussion Group

We have recently moved our discussion groups to new and better software. The old messages are archived here but you should probably check out the new ones.

WDJ Mailing Lists
Discussion Groups Book Reviews Software Reviews Download Web Tools

[ List of Web Developer's Journal Discussion Groups | Contents | Search | Post | Reply | Next | Previous | Up ]

Re: 'application/octet-stream' issues

Configuration Utility

From: kellyreynolds@att.com
Category: Category 1
Date: 24 Apr 1998
Time: 17:50:45
Remote Name: 192.128.167.50

Comments

I am working on an AT&T Globalyst 375TPC w/Win95. When booting up before starting Win95 a message comes up "invalid system configuration, run configuration utility. Am unable to open Configuration Utility due to it being password protected. Password is unknown. Is there a way to get around or remove the password to gain access?

From: Erik Symonds
Category: Category 1
Date: 03 Nov 1997
Time: 08:49:14
Remote Name: 208.144.68.10

Comments

Sorry about the previous post. Perhaps I can make this a BIT more readable.

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

Back to the Web Developer's Journal
Contact WDJ   •    Suits!   •    Propheads!   •    Ponytails!
Discuss   •    Subscribe   •    Search