I need the ability to upload and use brilliant ownCloud web interface, but I want to get the file paths and folder path automatically with public access.
Uploading files to specific folders, I need to get public access to this folders
www.myname.domain/files/public/folder-code
(this link opens the folder in OwnCloud)
www.myname.domain/files/public/folder-code/filename.jpg
(open the file)
is it doable?
Right now I create such links via “Create shareable link” copy and paste it. But it really time consuming if you need to have a lot of such actions.
I want to automatize getting such links and save my team time.
That could be a security risk. It’s the account’s private space, so it’s the account’s decision which files or folders will be accessible from the outside to anyone.
In addition, the account could remove the shared link.
Thanks for you answer, I thought about using Apache or similar, but it would require the developing or configuring any folders management web system.
Once again,
www.myname.domain/files/public/folder-code
fodler-code - is generated by my ecommerce platform, it’s almost the same as the code provided by Own Cloud. It may be 10 digits long or I can combine it with addition code and it will be like 20 digits and letters long. I don’t see a lot of security issues here.
I just don’t want to create links manually, I want to put the files to right folder and using folder_code generated automatically has access to it. That’s it.
Using API, I can send the folder url that looks like
owncloud/mydomain/public/folder-code (some kind of path that can be generated automatically based on folder structure)
to API and get the link from own cloud for public access?
Not sure what you mean?
Like I said, try it out. One thing I always recommend is to create an app password in the personal security settings tab.
Obviously the user creating the shares through the API needs access to the files through ownCloud (you can’t create shares for other users for files you don’t own).