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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Filemanager Drag'n'drop folder trees does not work

Filemanager Drag'n'drop folder trees does not work

Scheduled Pinned Locked Moved Feature Requests
filemanager
13 Posts 4 Posters 2.5k Views 4 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

    I noticed recently that drag'n'drop of a directory tree doesn't work properly in FM as it dumps everything into the one dir, no tree of sub dirs.

    @girish does this help? https://github.com/jhiesey/drag-drop

    Conscious tech

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

      I split this over to a new thread to stay focused. The new filemanager does not yet have drag'n'drop support internally, so I assume you refer to dropping a folder from your system filemanager into the webview and that flattens the tree during upload?

      robiR 1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        I split this over to a new thread to stay focused. The new filemanager does not yet have drag'n'drop support internally, so I assume you refer to dropping a folder from your system filemanager into the webview and that flattens the tree during upload?

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        @nebulon said in Filemanager Drag'n'drop folder trees does not work:

        The new filemanager does not yet have drag'n'drop support internally, so I assume you refer to dropping a folder from your system filemanager into the webview and that flattens the tree during upload?

        Yes, that's it, the code at the repo should help with that.

        Conscious tech

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

          What do you mean with the code in at the repo?

          Ah I guess you mean the github repo for drag'n'drop! So we use vuejs with the primevue components set in the new views, moving away from the now unsupported angularjs v1.

          robiR 1 Reply Last reply
          0
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #5

            Hm so at least dropping a folder into the filemanager from the system filemanager does upload the folder tree correctly here. So then if you refer to the missing drag'n'drop support in the filemanager itself, then this is already on my list to implement.

            1 Reply Last reply
            2
            • nebulonN nebulon

              What do you mean with the code in at the repo?

              Ah I guess you mean the github repo for drag'n'drop! So we use vuejs with the primevue components set in the new views, moving away from the now unsupported angularjs v1.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #6

              @nebulon said in Filemanager Drag'n'drop folder trees does not work:

              Ah I guess you mean the github repo for drag'n'drop! So we use vuejs with the primevue components set in the new views, moving away from the now unsupported angularjs v1.

              Yes, https://github.com/jhiesey/drag-drop

              Conscious tech

              1 Reply Last reply
              1
              • girishG girish marked this topic as a regular topic on
              • H Offline
                H Offline
                hakunamatata
                wrote last edited by
                #7

                Was this ever implemented? I am experiencing the same issue (flattening of folders) while trying to upload folders into the public folder of a LAMP app on Cloudron v9.0.17.

                1 Reply Last reply
                1
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote last edited by
                  #8

                  I cannot really reproduce this on 9.1, but there was no specific fix implemented recently.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hakunamatata
                    wrote last edited by
                    #9

                    Hi @nebulon , I just tested this on 9.1.3 and am still experiencing the issue.
                    Browser: Safari, Brave Browser
                    OS: Mac OS Tahoe 26

                    1 Reply Last reply
                    0
                    • J Online
                      J Online
                      joseph
                      Staff
                      wrote last edited by
                      #10

                      @hakunamatata is it reproducible on chrome?

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hakunamatata
                        wrote last edited by
                        #11

                        Yes it is reproducible on Chrome, but Firefox works fine. I think we have a similar issue with Cubby: https://forum.cloudron.io/topic/15150/dropping-folders-flattens-the-folder-content-on-upload

                        Wonder if they (Filemanager and Cubby) are using a similar mechanism in the background

                        1 Reply Last reply
                        1
                        • J Online
                          J Online
                          joseph
                          Staff
                          wrote last edited by
                          #12

                          @hakunamatata they are written by the same person 🙂 no wonder it's the same bug

                          1 Reply Last reply
                          1
                          • H Offline
                            H Offline
                            hakunamatata
                            wrote last edited by hakunamatata
                            #13

                            i-restored-in-hd-4k-the-original-spider-man-pointing-at-v0-bekphnqftcb41.jpg

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            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