rejetto forum

How to set up a Folder that only allow a user upload

0 Members and 1 Guest are viewing this topic.

Offline Blackstreet

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Dear dev team.

Here is my case

User 'a' has a folder 'A' (full access). How can I set this folder so that it allow only upload (from anoymous user or another specific user).

In order to browse or download files form 'A', the client must log in using account 'a'.

Thank you in advance.


Offline raybob

  • Moderator
  • Tireless poster
  • *****
    • Posts: 454
    • View Profile
    • FileSplat.com
Dear dev team.

Team of 1   :P

That's not possible.  Each user can control only their own folders, and 'anonymous upload' to another user's account isn't allowed.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
a simple workaround is: add the folder TWICE, so they appear like 2 folders, but with same content.
i'll give you instructions, but i didn't test so be careful

1. add the folder twice (when asked, click "real" folder)

2. give them 2 different names, like "upload" and "download"

3. on one folder you will hide all files. This may be achieved in several ways, maybe the easier is to use a "file filter" with this value: \*

4. the other folder shall be protected, and give access only to "a"

You can vary this approach in many ways. Example: you may put the "download" folder INSIDE the "upload", and also you could enable "list protected items only for allowed users".


Offline raybob

  • Moderator
  • Tireless poster
  • *****
    • Posts: 454
    • View Profile
    • FileSplat.com
That's not gonna work, because my authentication system is macro-based (totally different from HFS).

You would have to add a bit of code to allow just the one folder to be added to by anybody.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile