cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Survey - direct Mathcad files attachments

Werner_E
24-Ruby V

Survey - direct Mathcad files attachments

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.

 

57 REPLIES 57
-MFra-
21-Topaz II
(To:Werner_E)

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

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

 

Windows 7 Pro

IE 7.0

vlehner
13-Aquamarine
(To:Werner_E)

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.

Volker

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?

 

vlehner
13-Aquamarine
(To:Werner_E)

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

We should ask him for information about like that.

 

Volker


@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.

am-a
2-Guest
(To:vlehner)

Win10, Chrome, no special settings. Just selected two files and uploaded

Werner_E
24-Ruby V
(To:am-a)


@am-a wrote:

Win10, Chrome, no special settings. Just selected two files and uploaded


You simply are privileged, I guess  Smiley Surprised

nas0k
7-Bedrock
(To:Werner_E)

I tried a Prime 3.1 file, which didn't work.

4.0...Nope

15... Nope

 

Using Windows 8

 

Not a helpful site to look for help if you can't share the problem.

Werner_E
24-Ruby V
(To:nas0k)


@NormSchutzkus wrote:
...

Not a helpful site to look for help if you can't share the problem.


You still can, but its more cumbersome to do compared to what we got used to.

You still can attach any files if you manually zip them and you still can embed picture in your post but you must save them first and load it from there.

To be fair, this is like a lot of other forums work but we got used to something more comfort in the meantime.

 

nas0k
7-Bedrock
(To:Werner_E)

Your work around is helpful if you don't mind explaining it to every new site user (like before). I was hoping PTC took notice of this inconvenience (and complaint), assigning resources to facilitate the process.

FDS
12-Amethyst
12-Amethyst
(To:Werner_E)

Using MC 15 and win7 (32 bit) with IE, I cannot attach a xmcd file without zipping first

Tmetcalf
Emeritus
(To:FDS)

Good day folks,

It seems when files are compressed or zipped they can be uploaded, it that correct?

What is the file size (typical), and maybe an adjustment can be made there (on my end).

Best,

Toby

Hi Toby!

Sent you a PM.

File size sure is not the issue as the test files are pretty tiny.

Problem seems to be that Lithium thinks they are not valid Mathcad files.

Or maybe something else:

The message says "content type (application/x-mathcad-mcdx) does not match its file extension"

So Lithium thinks that a file of content application/x-mathcad-mcdx must have an externsion other than mcdx. Where does Lithium takes that wisdom from? This is the list that has to be changed.

Or does Lithium misinterprete the settings in our registry? At least thats the place where on our computers the information is stored  that a file with extension ".mcdx" is of content type "application/x-mathcad-mcdx":

HKEY_CLASSES_ROOT\.mcdx -> Content Type -> REG_SZ: application/x-mathcad-mcdx

and the other way round its here:

HKEY_CLASSES_ROOT\MIME\Database\Content Type\application\x-mathcad-mcdx -> Extension -> REG_SZ: .mcdx

 

 

Thank you for the clarification Werner

We are not alone ...

->   http://forums.ni.com/t5/Feedback-on-NI-Community/can-t-upload-cs-files-without-giving-them-a-txt-extension-first/td-p/3153916

Looks like @Tmetcalf can only fix that problem by raising a case with Lithium (which as I understand he already did or intends to do)

Not intend - have 🙂

Thank you for providing the link - this gives a bit more weight to my request.

Toby

RichardJ
19-Tanzanite
(To:Werner_E)

No luck.

Win 10, Firefox.

OK, thanks!

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

 

Keep your reports coming ....

MJG
18-Opal
18-Opal
(To:Werner_E)

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

LucMeekes
23-Emerald III
(To:Werner_E)

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:

LucMeekes
23-Emerald III
(To:LucMeekes)

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

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

 

Luc

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.

RichardJ
19-Tanzanite
(To:Werner_E)

I think you are right that it's something to do with how Lithium interacts with the registry settings. Basically, a bug.

Not sure but maybe only users which never had installed Mathcad 14 or 15 can  upload Mathcad files.

Be curious what happens if  @LucMeekes upload an .xmcdz file. He has installed MC11 and Prime as far as I am aware, so this filetype probably is unknown to his registry.

LucMeekes
23-Emerald III
(To:Werner_E)

Upload test:

Only the .mcd file loads up. The remainder:

LucMeekes
23-Emerald III
(To:LucMeekes)

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.

 

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 😞

LucMeekes
23-Emerald III
(To:Werner_E)

So this is a test t upload a prime file, after I've changed a registry setting.

I set

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/x-mathcad]
"Extension"=".mcd"     to      ".mcdx".

This also changes the (similar for sure, but same?) registry setting at:

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-mathcad]

 

Then attempt to attach the Mathcad 11 '.mcd' and the Prime 3.1 '.mcdx' files.

No good luck, considering:

 

 

 

Top Tags