Extra attachments being created?

Hello!

I know this issue has been around for a while, but I’m curious to see how it can be fixed. I’m guessing it’s at the server level, but I’m not sure.

When an attachment is saved in a rich-text field thru the Notes client, the seems to be another file that is saved with the document. It has a format something like “ATTMBUR05” or “ATTSECK1”. No file extension is added.

Any idea how this happens? I’ve done searches in the forum, but haven’t had any luck. =8|

Thanks, in advance!

Steve in NYC

Subject: Extra attachments being created?

If you save an attachment with the name sample.odt, for example, there will be an internal name and an external name, and both will be the same, sample.odt, but if you then save a second file with the name sample.odt, the internal name will be something like you describe, because the internal name must be unique. The external name will still be sample.odt. I wish the extension were preserved, but it is not. In any case, you would not normally get these unless you add files with the same name, but it can also happen in some instances when a file is updated in such a way that the system thinks there is already a file attachment with the same name, even though it is really just the file itself. In general, it shouldn’t hurt anything, since the external filename is still used when you detach the file.

Subject: RE: Extra attachments being created?

Hey, Ben!

Long time, no speaks! :wink:

[plug!] - for anyone one else reading this, Ben’s website has tons of cool rich-text stuff for ya’: http://www.geniisoft.com.[/plug!]

You’re right in that it happens when file names are repeated, even if they are in different RT fields.

My problem is when I loop thru the nrti.EmbeddedObjects, and get the names, I get “ATTHY8C3” instead of it’s actual name (i.e. “filename.pdf”).

Unfortunately, the $FILE field also holds the “ATTHY8C3” value and not the real one, so I can’t loop thru the $FILE’s to find their RT parents, either. =8( Here are the values in the $FILE field, for what it’s worth:

Field Name: $FILE

Data Type: Attached Object

Data Length: 124 bytes

Seq Num: 1

Dup Item ID: 3

Field Flags: ATTACH SIGN SEAL SUMMARY

Object Type: File

Object ID: 000078B2

Object Length: 24582

File Name: filename.pdf

Flags: SIGNED

Host: MSDOS/OS2

Compression Type: NONE

Encoding Type:

File Attributes: RW PUBLIC

File Size: 24582

File Created: 25/01/2008 12:51:03 PM

File Modified: 25/01/2008 12:51:04 PM

Field Name: $FILE

Data Type: Attached Object

Data Length: 60 bytes

Seq Num: 1

Dup Item ID: 5

Field Flags: ATTACH SIGN SEAL SUMMARY

Object Type: File

Object ID: 000078BA

Object Length: 24582

File Name: ATTHY8C3

Flags: SIGNED

Host: MSDOS/OS2

Compression Type: NONE

Encoding Type:

File Attributes: RW PUBLIC

File Size: 24582

File Created: 25/01/2008 12:51:03 PM

File Modified: 25/01/2008 12:51:04 PM

Any ideas?

Thanks in advance!

Steve in NYC (formerly “Steve in Montreal”)

“Wherever you go, there you are.”