Shop OBEX P1 Docs P2 Docs Learn Events
upload java files — Parallax Forums

upload java files

DorlingDorling Posts: 32
edited 2007-05-23 10:15 in General Discussion
I can't upload java files in my post.

With-in the Attachment Manager I can the error "* You cannot upload files that use MIME type : text/java."

Can this be fix please

Thanks

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-22 20:24
    Hello,

    If you enclose your files in a ZIP archive you will be able to upload them. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • DorlingDorling Posts: 32
    edited 2007-05-22 20:26
    I see user upload them and they how up as

    File Attachment :
    LinkMatik.java 1KB (application/octet-stream)
    This file has been downloaded 1 time(s).

    Many Thanks

    Jonathan
  • Jon KeinathJon Keinath Posts: 146
    edited 2007-05-23 00:14
    I just upload the files as xxxx.txt this works fine. Attached is my Xbee class.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Jon
    www.jonkeinath.com
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2007-05-23 04:58
    Jonathan,
    I just tried to upload a compiled java file (*.class) and that gives the error you mention.
    You must upload the source (*.java).
    I suspect your windows setting is not to show filename extensions. There are
    2 identical filenames, one with extension .class and one with extension .java
    To enable viewing of extensions
    From windows explorer menu extra->folder options
    select tab view
    uncheck "hide extension of known filetypes"
    click ok
    You should now be able to see the filename extensions.

    regards peter
  • DorlingDorling Posts: 32
    edited 2007-05-23 08:21
    Peter,

    I am uploading the source (*.java) file if you look your file have a different MIME type of mine? Why is that? It is not just m to has this problem.

    Jonathan
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2007-05-23 10:15
    I believe MIME has to do with privacy. Try to relax your privacy settings
    in internet options. My privacy settings are set to either minimal or standard.

    regards peter
Sign In or Register to comment.