hi,
I am trying to find solution and tools to create a fom to upload files (jpg, png) by users to the protected folder on server.
User can see his own files. Admin can add to his account new files.
You could let users upload media using a Toolset Form that features some upload fields - those uploads are natively stored by WordPress in the uploads path/folder.
However, the "read" permission (can see) in Toolset Access is applied to all users - it cannot be set to "only allow the uploader to read the image".
It can, however, be set to let only the owner of the image editor else manipulate it.
I think you could create a Post Type as "container" for the images uploaded.
Then in a Toolset Form, editing that post type, or creating new such posts, you can upload images to the posts.
Later you can restrict read access to the posts that are not authored by the currently logged in user in a View, by displaying only posts of the currently logged in author, and in the View, call the images uploaded to the Posts.
This should help to achieve the goal, please let me know if you'd need some example on an online test site.
Can you write step by step how to create simple form to upload media and add this form to site?
Sure, it's also explained here:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
1. Create a Image or other media file type field in Toolset > Custom Fields
2. Create a Post (Edit or Create) Form that edits or creates new posts in the type where above Image Field is attached to under Toolset > Post Forms
3. In the Form, you already will see the image field now.
4. Insert that Form to any page to let it create new posts or into a specific post if it's an edit form.