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. Feature Requests
  3. File Manager Upload Overwrite & Rename

File Manager Upload Overwrite & Rename

Scheduled Pinned Locked Moved Solved Feature Requests
filemanager
4 Posts 2 Posters 830 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by girish
    #1

    @nebulon

    The CL FM will accept for upload a nice large file, then once it finishes and realizes there is another file by the same name, it will ask if one wants to Overwrite.

    So far so good, however if you click the overwrite button, the upload starts again.

    Then, after it finishes the 2nd upload, it asks you if you want to Rename the file?!?

    Then, you only end up with the file you uploaded, but were seemingly forced to rename it. 💪😄👎

    Conscious tech

    nebulonN 1 Reply Last reply
    1
    • robiR robi

      @nebulon

      The CL FM will accept for upload a nice large file, then once it finishes and realizes there is another file by the same name, it will ask if one wants to Overwrite.

      So far so good, however if you click the overwrite button, the upload starts again.

      Then, after it finishes the 2nd upload, it asks you if you want to Rename the file?!?

      Then, you only end up with the file you uploaded, but were seemingly forced to rename it. 💪😄👎

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @robi I admit this is far from smart, but was just a fast way to deal with it. The filemanager was not built in mind for uploading large files, but more like managing config files. Will see what can be done to fix this better.

      1 Reply Last reply
      1
      • nebulonN nebulon moved this topic from Support on
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        Cloudron backups are pretty good if mistakes are made.

        How about check filename dup first and pop up the modal for Overwrite, if yes, move the temp file and overwrite, if no, move the temp file to .1, .2, .3 etc..

        Definitely avoid a second upload.

        Conscious tech

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

          This is now fixed for the next version. On upload conflict, the code will add .n to the filepath, whereas n is an increasing number until no conflict is found.

          1 Reply Last reply
          2
          • nebulonN nebulon marked this topic as a question on
          • 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