This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

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:

attachments

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.
attachments

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:

attachments

attachments

attachments

attachments

attachments

The syntax for the WriteFile task should be:
{username}:{username}{r}{n}

Whatever is before the colon (:) appears in the selection list. In case you want to send e-mail notification, a second colon char is required after the {username} variable followed by the {user_email} variable:

{username}:{username}:{user_email}{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 or creating the share will fail.

Now all you have to do is, set true the Enable Username lookup while sharing files internally.

attachments

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
ShareusersUM.png 22.2 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
jpeg
Writefile1.jpeg 574.8 kB 1 29-Dec-2020 05:25 krivacsz
png
Writefile1.png 814.1 kB 2 29-Dec-2020 05:25 krivacsz
png
complete.png 348.5 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
delete.png 570.5 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
end.png 88.2 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
find.png 559.3 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
jumpend.png 53.9 kB 1 29-Dec-2020 05:25 Halmágyi Árpád
png
share_form.png 119.9 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
sharelookup.png 12.0 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
sharelookupmultiple.png 256.6 kB 2 29-Dec-2020 05:25 Halmágyi Árpád
png
userslist.png 574.8 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
writefile1.png 22.8 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
writefile2.png 23.5 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
png
writefile3.png 24.8 kB 4 29-Dec-2020 05:25 Halmágyi Árpád
png
writefile4.png 18.4 kB 3 29-Dec-2020 05:25 Halmágyi Árpád
« This particular version was published on 29-Dec-2020 05:25 by Halmágyi Árpád.
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
CrushTask

JSPWiki