Re: [hypermail] Could not open the ms-word document attachement, once archived

From: Rev. Bob 'Bob' Crispen <crispen_at_hiwaay.net_at_hypermail-project.org>
Date: Sat, 20 Jan 2001 03:21:48 -0600
Message-ID: <11975701985.20010120032148_at_hiwaay.net>


Hari Prasad said on Thursday, January 18, 2001 at 10:11:18 PM:

> Some of the mails in our mail archive (archived using hypermail)
> contain ms-word and ms-xls files as attachment
> Once we generate the html files using Hypermail, the the attachement
> files which are stored in attachement directories
> could not be opened in word or xls. Could any one tell me the reason and
> some sulution to this?

Are you running on NT? If so, you need to find the place that opens the output file and write to it with O_BINARY or "wb", depending on whether it's open() or fopen().

Which reminds me, I need to get my Windows patches into CVS.

Anyway, Hari, if that's your situation, write me, and I'll show you where to patch it.

As to the existing files, I'm afraid they're past help unless you can resurrect them from the mbox file.

-- 
Rev. Bob "Bob" Crispen
crispen at hiwaay dot net

0.666 - Number of the Millibeast
Received on Sat 20 Jan 2001 11:25:26 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT