Pages: 1
RSS
Detached Attachments, On restoring backup to new PC attachments no longer attached
 
I recently got a new PC so I did a complete backup of The Bat (3.84) including attachments (I have it configured to store these in a separate folder), installed The Bat on the new PC and restored from the backup file.  Everything is OK except that when I try to open an attachment on a restored e-mail I get the message "Contents of the attachment nnnnn is not available" and the attachment size is not shown beneath the attachment name.

The attachments have all been restored, and are in the folder specified in the account setup but the links from the e-mails seems to have been lost.  Has anyone any idea of how to restore them?
 
Probably you have changed tha path to your mail/attachments folder.

If you open the message database with a text editor and look up the attachment part it would look like:

Content-transfer-encoding: base64
Content-Disposition: attachment;
filename="attachmentname.txt"
X-Content-File: c:\Path\To\Attachment Folder\attachmentname.txt

You can do a search and replace to set up the new path, it is reccomended to keep a backup just in case something goes wrong btw.

Or you can recreate the path structure you had on your other PC
 
Thanks very much for your advice.  It was exactly as you said (the result of moving from XP to Vista).  When I have a spare few minutes I shall update the paths in the database.
 
I finally got around to trying to change the attachment path on one of the e-mail databases which had e-mails from the restore (wrong path) and ones received on my new PC (right path).  As you suggested, I made a backup first then used a text editor to do a search and replace, pasting the paths into the "find" and "replace" boxes from the database itself.  Out of 156 e-mails, it replaced the paths on 23.

However, when I re-opened The Bat! and clicked on that folder, I got the message that it was corrupted.  I selected the option to repair, and when that was completed, there were only 133 e-mails in the folder - all the ones whose attachment path had been changed were gone.  They were all stored in separate files called partnnnn.bin and not accessible from The Bat!

When I copied back the original database file and re-opened The Bat! it still said that there were only 133 messages in the folder.  When I clicked on the folder again I got the message that it was corrupted but after repair, it gave the correct total of 156 messages and all the missing one were there - although I still cannot open their attachments.

I was wondering whether the database file contained some kind of hash sum for each e-mail to ensure it was not changed and if so, whether there is any way round it so I can open the attachments from the e-mail?
Pages: 1