Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are FileDrop Public Shares working with webdav utilities #33069

Closed
christianlx opened this issue Oct 8, 2018 · 5 comments
Closed

Are FileDrop Public Shares working with webdav utilities #33069

christianlx opened this issue Oct 8, 2018 · 5 comments

Comments

@christianlx
Copy link

10.0.0.8

Steps to reproduce

  1. Share a folder by public FileDrop link, get the link and the ID
  2. Use a tool like cadaver to browse it

Expected behaviour

Access to the share

Actual behaviour

Error 404

Server configuration

Operating system: Centos7

**Web server:**Apache

**Database:**MariaDB

**PHP version:**7

ownCloud version: 10.0.0.8
**Updated from an older ownCloud or fresh install:**Updated from 9.1

**Where did you install ownCloud from:**Owncloud Repo for Centos

Hi,
I test Files Drop shares now availables with the 10 version. I just wonder if this kind of shares are readable and writables by command line like cadaver.
I ask the question because on a classic RW share, I can access by command line like :

cadaver https://myserver/owncloud/public.php/webdav/
Authentication required for ownCloud on server myserver': Username: my public ID dav:/owncloud/public.php/webdav/> ls Listing collection/owncloud/public.php/webdav/’: succeeded.
1.txt 1 oct. 8 08:52
2.txt 1 oct. 8 08:52
3.txt 1 oct. 8 08:52

If I do the same on a FileDrop Share (which is working with a browser), I have a 404 error like this as soon as I tried to connect:

Could not access /owncloud/public.php/webdav/ (not WebDAV-enabled?):
404 Not Found
Connection to `myserver’ closed.

And If I use remote.php instead ou public.php, the public ID does not work

So is it a bug or is it a normal behaviour of the FileDrop share ?

Thanks,
Christian.
@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

Possibly related issues are #1477 (test working WebDAV), #22735 (CalDAV: support public sharing), #10132 (WebDAV did not work), #31454 (Problems with public shares), and #181 (Writing to WebDAV shared folder is not working).

@DeepDiver1975
Copy link
Member

@tomneedham 👋

@hodyroff
Copy link
Contributor

hodyroff commented Oct 8, 2018

FileDrops have no listing right. Therefor when you want to read=browse it a 404 is correct. A put however should work.

@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2018

The purpose of file drop is to hide the listing, so letting it be accessed by cadaver or any Webdav tool would be a security breach.

This works by design, closing.

@christianlx not sure what your actual use case is, but if you wanted to programmatically access the FS and files you might need to write an app and use the PHP APIs for access.

@PVince81 PVince81 closed this as completed Oct 8, 2018
@christianlx
Copy link
Author

OK thanks for your answers.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants