Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cubby
  3. file extension gets erased if not zipped (BUG/FEATURE request)

file extension gets erased if not zipped (BUG/FEATURE request)

Scheduled Pinned Locked Moved Solved Cubby
6 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #1

    I usually zip my files before sharing, but today I didn't do that. Turns out the file gets renamed to a long string when shared and in my case, the file had an .STL extension (3D model format) and it got erased causing the file to appear "broken". Simply renaming the file and adding the extension works fine (file is not actually corrupt in any way). I just wanted to report this and if possible, these extensions can be added to the "allowed" list. The last three are the most common files types used in the 3D world. The first is app specific.

    .3DM
    .3MF
    .STL
    .OBJ

    P.S. I haven't tested other file formats, so this might be happening to regular files too like jpeg, etc.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Oh so you refer to sharing such a file directly, causing the default download file name (Content-Disposition) being wrong? That at least is one bug here, but not sure if this is what you refer to.

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • humptydumptyH Offline
        humptydumptyH Offline
        humptydumpty
        wrote on last edited by
        #3

        Correct. I'm creating a share link and emailing it to my clients (they don't have a user account on my cloudron).

        cubby.png

        1 Reply Last reply
        0
        • humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by humptydumpty
          #4

          This is the result of a downloaded .OBJ file that was NOT zipped.

          image.png

          The file name gets changed and the extension wiped. It does the same with zip files but the extension of zips aren't affected.

          If I add the .OBJ extension at the end, the file will get recognized and works fine then.

          dd85789a-d7eb-4d52-8490-b85085868d73-image.png

          My clients aren't that tech savvy so to them, I get yelled at ..."YOUR LINK DOESNT WORK!" 🙂

          1 Reply Last reply
          0
          • nebulonN nebulon forked this topic on
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #5

            This is now fixed with https://git.cloudron.io/cloudron/cubby/-/commit/47acd6c69841312fdf612bb727f6ee381e068ba5 will probably make a new package tomorrow.

            humptydumptyH 1 Reply Last reply
            1
            • nebulonN nebulon

              This is now fixed with https://git.cloudron.io/cloudron/cubby/-/commit/47acd6c69841312fdf612bb727f6ee381e068ba5 will probably make a new package tomorrow.

              humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by
              #6

              @nebulon awesome! thank you!

              1 Reply Last reply
              0
              • nebulonN nebulon has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search