Skip to main content
25-Diamond I
July 11, 2017
Question

Survey - direct Mathcad files attachments

  • July 11, 2017
  • 10 replies
  • 15012 views

While this topic may belong to "Community Help" I post it here on purpose to reach the right people.

Some of us already made the experience that Mathcad files can't be attached directly but must be zipped before we are allowed to attach them. Thats cumbersome - especially compared to the way we could make attachments in the previous forum.

I already posted a thread here

https://community.ptc.com/t5/Welcome-How-To-s/Attachment-of-files-from-PTC-products-not-accepted/m-p/476440#M156

and @Tmetcalf is already aware of the problem but has no solution so far.

 

Now I noticed that at least two times in this forum users were able to attach a Mathcad file directly. That means that something on the user side could be the cause for the upload failing (it should not and the problem has to be fixed by Lithium or PTC) and I am curious as to what it could be.

I downloaded gthe files of the people who were successful and trie to upload the very same files - no succes. So its nothing special with the files.

I usually work with Firefox and so I gave it a try with Chrome and with Internet explorer. But with none of them I was succesful, all would refuse the upload.

At the time I am limited to a machine with good old  Win XP.

Could the OS be the difference, or the installed Java version, or ....??

 

Could you please try yourself to upload a Mathcad file directly and report here about fail or success!?

Maybe your responses can help Toby to find a solution.

If you need dummy files you can find thme in the attached archive.

 

10 replies

21-Topaz II
July 11, 2017

Hi Werner,
Now I tried to attach your files, but it gives me some errors. They must be stored in a compressed folder. My O. S. is w10, Java 7 version 9

23-Emerald I
July 11, 2017

I must zip version 15 and Prime 3.0 files to upload them. 

 

Windows 7 Pro

IE 7.0

1-Visitor
July 11, 2017

Hallo Werner,

 

Trying to upload each of your files directly leads to this message:

11-07-2017 16-28-35.jpg

 I'm working with OS Win10 and MP4+MC15 and I'm using firefox as well.

In the thread:

https://community.ptc.com/t5/PTC-Mathcad-Questions/Export-to-pdf-xps-changes-plot-axis/m-p/476637#M172254

a user could upload the file Propped steel beam.mcdx directly.

I couldn't upload his file directly, getting the same error message like above.

 

To upload directly pdf-files, it's no problem.

Werner_E25-Diamond IAuthor
25-Diamond I
July 11, 2017

Thanks for all the replies so far.

I already suspected to get a better reaction here than in "Community Help" 😉

So far nobody was successful in uploading a Mathcad file directly without zipping it first.

The good part ist that I see that I am not alone and its not just me 😉

On the other hand It is becoming increasingly mysterious as to how those two useres succeeded here. One of them was referenced by Volker in his reply above,  the other is anthonyQuinn here https://community.ptc.com/t5/PTC-Mathcad-Questions/MathCad-11-how-to-make-the-result-shown-in-line-with-the/m-p/476124#M172199

Third post in the thread (unfortunately we can't link to individual posts in a thread any more).

 

So other users are welcome to chime in here. Whats your experience when you try to attach a Mathcad file directly?

 

1-Visitor
July 11, 2017

Maybe Adam could tell us something about his OS and settings.

We should ask him for information about like that.

 

Werner_E25-Diamond IAuthor
25-Diamond I
July 11, 2017

@vlehner wrote:

Maybe Adam could tell us something about his OS and settings.

We should ask him for information about like that.

 


OK, lets invite @am-a to this dicussion, but I fear that his explanation will be similar to Anthony's in the other thread. Anthony wrote "About .mcd attachment, I did nothing in particular. I just browsed with the link that there is here under the edit window  on the left  and selected the file (I am working - if that matters - still with WinXP)."

In other words it simply worked for him as it should.

19-Tanzanite
July 11, 2017

No luck.

Win 10, Firefox.

Werner_E25-Diamond IAuthor
25-Diamond I
July 11, 2017

OK, thanks!

So far including myself six users reported here and all six were unable to attach Mathcad files directly.

 

Keep your reports coming ....

1-Visitor
July 11, 2017

I was NOT able to attach the following filetypes:

MC 11 (saved from MC15)

MC 15

MCP 3.1

I got the "...does not match its file extension and has been removed" error for each.

 

I'm running Win 10 Pro x64 and using Chrome 59.0.3071.115

23-Emerald IV
July 13, 2017

Attaching a mathcad 11 file

 

OS=Win10/32bit, Browser is Firefox.

 

Luc

 

Edit: OK, let's add a couple of Prime files.

Ah That failed with the message:

23-Emerald IV
July 13, 2017

So maybe (considering that Anthony Queen used Win XP, most probably 32-bits)

the magic is in the bitness of the OS...?

 

Luc

Werner_E25-Diamond IAuthor
25-Diamond I
July 13, 2017

No, its not the bitness. At the time I am on WinXP 32 bit and am also using FF and no luck re-uploading your file here 😞Pic1.png

 

It may have to do with the registry settings which control the assignments extension to content-type as shown above but I have no idea what and how.

As I understand it now its our local system which tells Lithium that the attachment is of content-type "application/x-mathcad-mcd" (the first registry entry I showed above) and Lithum then decides (why????) that the extension .mcd is not a valid extension for that content-type. At least that's what I understood from reading the thread in the NI forum I linked to above.

Maybe your system is configured differently and reports a different content-type of the file to Lithium? Can you check?

Have you tried to upload files from the zip file in my initial post (MC15, Prime format)? Guess you would be able to do so, too.

23-Emerald IV
July 14, 2017

Upload test:

Only the .mcd file loads up. The remainder:

23-Emerald IV
July 14, 2017

Note that my registry shows:

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-mathcad]
"Extension"=".mcd"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\Application/x-mathcad-mcd]
"Extension"=".mcd"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-mathcad-mcdx]
"Extension"=".mcdx"

So to state that:

"The attachment's UploadTest.mcdx content type (application/x-mathcad-mcdx) does not match its file extension"

is a lie, and to my opinion exposes a severe BUG in the Lithium software.

 

Werner_E25-Diamond IAuthor
25-Diamond I
July 14, 2017

Thanks for testing. It remains a miracle as to why you can upload -mcd files. Something has to be different in your registry compared to ours, I guess and also in yours compared to mcdx, etc..

I also think that we experience a bug in Lithium, but referring to the NI forum I linked to, it looks like the bug is known, but not fixed for quite a long time 😞

24-Ruby III
July 14, 2017

So, I tested the files with extensions ".mcd", ".xmcd", ".xmcdz", ".mcdx" and all without success. I used the following web browsers with Windows 7 32-bit and always received the same error:

  • Internet Explorer 11.0.9600.18738
  • Google Chrome 59.0.3071.115
  • Firefox 54.0.1
  • Opera 46.0.2597.46
  • Tor 7.0.2

Pic_1.png

Werner_E25-Diamond IAuthor
25-Diamond I
July 14, 2017

Guess we won't solve that puzzle here and have to wait for lithium to reply to Toby. Hopefully wih a fix and not with "its a security feature and working to specification.".

24-Ruby III
July 14, 2017

In any case this is strange Smiley Frustrated.