Drag n Drop whole folders with subfolders/files in Public Share?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • replace me
  • Operating system and version (e.g., Ubuntu 24.04):
    • replace me
  • Web server and version (e.g, Apache 2.4.25):
    • Apache version 2.4.58
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Apache version 2.4.58
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • when i tried to drag n drop whole folders to Public Shared folder
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Hi,
is it possible to Drag n Drop whole folders with subfolders/files in Public Shares (per link)? I tried with latest Nextcloud using Firefox and Chrome as browser… manually making new folders work but when i Drag n Drop a folder i got an error message…

Steps to replicate it (hint: details matter!):

  1. make public shared folder give full access to it

  2. try drag n drop whole folders+subfolders/files onto the new public share (by link)

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I have a file drop share, there I see the option with a folder upload:

Unfortunately, I get an error as well…

MKCOL /public.php/dav/files/anM2FQdWsfWt83rH/first_test/ HTTP/2.0" 400 249

It does not even end up in the nextcloud.log, so perhaps something in my nginx configuration not up to date.

When i try to drag n drop a folder it looks like that…

Ok, I tried without a public shared link, then it works for me. Just the file drop seems to be affected.

So your case seems to be different. Regarding the errors you found, do you have the full log entries? I’d try to search for these errors, you can often find some hints. For older setups, it can be that some webserver config has slightly changed, some app is not up to date, and you should also make sure to use the latest point-release:

(31.0.9 or 32.0.0), the release candidates for the next point release are out there as well, in that case you should find a reference with this error in the bug tracker.

I got on three (2 bare ones and one hosted and installed by all-inkl) systems (30.0.7, 31.0.9, 31.0.1) the same problem as above.

It works for normal shares but not for external shares/links… maybe it was never meant to work - could please anybody try to make a public share and drag n drop files + folders there?

thanks!

But it is shown as a option, so it should work (or not show if it is not meant to work).

Have you tried it with external shares/links - do you have the same behavior as i have?

I tested and had a different error already at the webserver level (for external shares). I didn’t check more in detail, when it gets pass to Nextcloud, if then it works or throws the same error.

if you check the details of the error messages, perhaps you find more details, or for the folder that could not be created if there is a permission issue. At some point, I might be able to check the whole nginx config from my side, perhaps increase logging to debug further, but currently I don’t have the time on in my case it is not bothering me enough …