Allow username lookup on internal share.
#
If you would like to enable username lookup on the internal share (Enterprise licenses only), you can do it like:
Create a folder called 'forms' in the CrushFTP root folder, inside that create a text file named the name of the field name...in this case: 'shareUsernames.txt'
At the UserManager, UserName (default for all users) in the QuickJump select Webinterface, customizations, enable the username lookup while sharing internally.
Then you need to make a form called "share_form" in your Preferences, WebInterface, custom forms. It needs to have one element: "shareUsernames". This form and text field element are just placeholders to enable this form to function with the lookup system.
Now that you have the form, you need a text file that will be referenced, so make a folder called "forms" in your CrushFTP main folder.
As these are done, go to the Admin, Jobs and create a new job, and configure it like:
The syntax for the WriteFile task should be:
{username}:{username}{r}{n}
If you do not have the email configured, you need uncheck the option to send email on internal shares on the share form.
Now all you have to do is, set true the Enable Username lookup while sharing files internally.
Add new attachment
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
ShareusersUM.png | 22.2 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
jpeg |
Writefile1.jpeg | 574.8 kB | 1 | 30-Sep-2020 16:03 | krivacsz | |
png |
Writefile1.png | 814.1 kB | 2 | 30-Sep-2020 16:12 | krivacsz | |
png |
complete.png | 348.5 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
delete.png | 570.5 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
end.png | 88.2 kB | 1 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
find.png | 559.3 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
jumpend.png | 53.9 kB | 1 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
share_form.png | 119.9 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
sharelookup.png | 12.0 kB | 2 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
sharelookupmultiple.png | 256.6 kB | 2 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
userslist.png | 574.8 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
writefile1.png | 22.8 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
writefile2.png | 23.5 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
writefile3.png | 24.8 kB | 4 | 25-Oct-2018 04:31 | Halmágyi Árpád | |
png |
writefile4.png | 18.4 kB | 3 | 25-Oct-2018 04:31 | Halmágyi Árpád |