Fixes #3858 - Add possibility to set SUID and SGID for Download a file from a shared folder

Fixes #3858 - Add possibility to set SUID and SGID for Download a file from a shared folder