搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

dXF FILE ATTACHMENTS WILL NOT OPEN WITH MY DEFAULT PROGRAM (OMAX LAYOUT) UNLESS I SAVE THEM TO THE DESKTOP AND THEN OPEN THEM.

  • 11 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 sfhowes

more options

When i receive an email with a dxf file attachment, the dXF file will not open unless i save it first. most other attachments work fine. For example if I were to receive a .dwg file attachment, the same program (layout by omax) will open it just by double clicking. I think this is happening because thunderbird adds ".txt" to the end of the filename and then the program can't open the file. The correct program (layout) pops up but the file doesn't open because suffix is wrong.

When i receive an email with a dxf file attachment, the dXF file will not open unless i save it first. most other attachments work fine. For example if I were to receive a .dwg file attachment, the same program (layout by omax) will open it just by double clicking. I think this is happening because thunderbird adds ".txt" to the end of the filename and then the program can't open the file. The correct program (layout) pops up but the file doesn't open because suffix is wrong.

所有回覆 (11)

more options

If you right-click a dxf attachment to a message, Open, you should see a dialog like the attached picture. Click the drop-down, select Other... and Browse to the correct opening application (layout). Check the box 'Do this automatically...' to store the setting. Note that TB suggests a text editor because the content-type header for dxf files is text/plain.

more options

Thank you for your prompt response. I have already done what you are suggesting here. Thunderbird is already set to use layout to open the file. unfortunately it is adding .txt to the end of the filename. so for example an attachment named part101.dxf becomes "part101.dxf.txt". As i stated above this does not happen with a .dwg file, which is opened just fine by the same program.

more options

Not sure why or how a txt extension is being added. If I right-click the dxf attachment, Save As.., it shows the file.dxf in the File Name box, and the Save as Type is DXF file. If you have an entry for dxf files in Tools/Options/Attachments/Incoming, apply Delete Action, OK to close Options, and see if anything changes when you repeat the process starting from right-click, Open.

more options

same result. it adds .txt to the .dxf file every time. When i have googled this in the past i see that i am not the first to experience this problem.

more options

Open the message source. (ctrl+U)

Scroll down till you see the attachment in the message source. The following is a guide. It is an attachment from one of my emails. the dotted line with the MIME parts code makes locating attachments and other objects fairly easy in most emails.

--------------CA977EDDE95B32D81F934291
Content-Type: image/png;
name="TB view more information about this update.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="TB view more information about this update.png"

What is the content type shown on the attachment, as well as the file name. My guess is the sender is encoding the attachment as plain text. But I am just guessing at this point.

more options

Note that in my first reply, I sent a dxf file attachment to myself with TB, so the attachment encoding was done with TB.

Content-Type: text/plain; charset=UTF-8;

name="Gear Sample-iss4.DXF"

Content-Transfer-Encoding: base64 Content-Disposition: attachment;

filename="Gear Sample-iss4.DXF"
more options

the file comes to me as a .dxf but when i open it the file name is changed by thunderbird to .dxf.txt

more options

this has apparently been a problem for a long time. here is someone else's registry mod to address the issue.

http://forums.mozillazine.org/viewtopic.php?f=39&t=2424905

由 kevinbin 於 修改

more options

If that works I would like someone to explain why.

Thunderbird does not as I understand it refer to the Windows registry at all on determining what to do with mimetypes. (very difficult to do on Linux and OSX). That is all stored in the mimetype.rdf file in the profile folder. So do we have another player in the mix here.

more options

hopefully there is an easier solution!

more options

There is an add-on that might help in this situation (although I think it should be unnecessary): OpenAttachmentByExtension. To install in TB 60, open Tools/Options/Advanced/General/Config. editor and double-click the preference extensions.strictCompatibility to false, OK to close Options.

I would first try the method mentioned above: send a dxf attachment to yourself with TB (not receive one from another email program).