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
CrushTask4 MKdir1.png 51.0 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 MKdir2.png 49.7 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 MKdir3.png 53.1 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 Write options.png 6.9 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 WriteFileHomeFolder... 86.8 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 WriteFileUser.png 99.2 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 WriteFileVFS.png 85.9 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 fileparser.png 76.8 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 find.png 92.5 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 ignore.png 45.0 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
CrushTask4 job.png 299.5 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
Screen Shot 2016-04-12 at 18.1... 298.9 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
WriteFileUser.png 79.5 kB 2 20-Dec-2016 12:32 Halmágyi Árpád
xml
job.XML 22.2 kB 2 20-Dec-2016 12:23 Halmágyi Árpád

This page (revision-11) was last changed on 09-Oct-2016 18:14 by Halmágyi Árpád

This page was created on 09-Oct-2016 18:14 by Halmágyi Árpád

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
If you would like to import users from a *.CSV file, you can do it based on the following minimal user setup example.
!Import users from *.csv file.\\
At line 3 changed 4 lines
[attachments|CrushTaskExample4/CrushTask4 find.png]
[attachments|CrushTaskExample4/CrushTask4 fileparser.png]
[attachments|CrushTaskExample4/CrushTask4 ignore.png]
[attachments|CrushTaskExample4/CrushTask4 MKdir1.png]
If you would like to import users from a *.CSV file, you can do it based on the following minimal user setup example.\\
\\
Note that this option to work requires CrushFTP6.4.0_21 and above.\\
The WriteFile commands might vary depending on the level of your CSV file complexity. Based on this scenario the Add Before, Add After and Find/Replace should all be entirely empty.\\
[attachments|CrushTaskExample4/CrushTask4 Write options.png] \\
We suggest creating a user as you'd like, and after that edit it's files from the CrushFTP/users/MainUsers/Username folder to see what fields have you selected and set it accordingly based on this example.
[attachments|CrushTaskExample4/CrushTask4 job.png]\\
On the First step we search for the .CSV that contains our users.\\
[attachments|CrushTaskExample4/CrushTask4 find.png]\\
On the second step we enter the values, so that CrushFTP will know what values should use in what order from the given CSV.\\
[attachments|CrushTaskExample4/CrushTask4 fileparser.png]\\
The following step needs to be done so that it ignores the file found on the first step, and uses the items from the CSV.\\
[attachments|CrushTaskExample4/CrushTask4 ignore.png]\\
Create the user directory where the user details are stored, and NOT it's actual data.\\
[attachments|CrushTaskExample4/CrushTask4 MKdir1.png]\\
On this step we enter the user frame, and make sure you have the
<password>{encrypt_start}{i_password}{encrypt_end}</password> value.\\
At line 8 changed 4 lines
[attachments|CrushTaskExample4/CrushTask4 MKdir2.png]
[attachments|CrushTaskExample4/CrushTask4 WriteFileVFS.png]
[attachments|CrushTaskExample4/CrushTask4 MKdir3.png]
[attachments|CrushTaskExample4/CrushTask4 WriteFileHomeFolder.png]
[attachments|CrushTaskExample4/CrushTask4 MKdir2.png]\\
At line 32 added 17 lines
Make sure you have the VFS folder always in uppercase, this is a base requirement.\\
Another requairement is to have the username with uppercase in the VFS folder, and after that you will have to set the user permissions on the VFS as: \\
<item name="/{upper_start}{i_username}{upper_end}/">(read)(write)(view)(delete)(deletedir)(makedir)(rename)(resume)(share)(slideshow)</item>
[attachments|CrushTaskExample4/CrushTask4 WriteFileVFS.png]\\
On the next process we use the HomeFolder path from your CSV and add the users folder to it, where the users actual data will be stored.\\
[attachments|CrushTaskExample4/CrushTask4 MKdir3.png]\\
On the last step we are creating a a VFS item, that is the XML file pointing to a home folder. It just happened to call this the same way as our username.\\
[attachments|CrushTaskExample4/CrushTask4 WriteFileHomeFolder.png]\\
You can download the job configuration and slightly adjust the paths in it for your needs.
[attachments|job.XML]
Version Date Modified Size Author Changes ... Change note
11 09-Oct-2016 18:14 2.673 kB Halmágyi Árpád to previous
10 09-Oct-2016 18:14 2.552 kB Halmágyi Árpád to previous | to last
9 09-Oct-2016 18:14 2.493 kB Halmágyi Árpád to previous | to last
8 09-Oct-2016 18:14 2.457 kB Halmágyi Árpád to previous | to last
7 09-Oct-2016 18:14 2.443 kB Halmágyi Árpád to previous | to last
6 09-Oct-2016 18:14 2.405 kB Halmágyi Árpád to previous | to last
5 09-Oct-2016 18:14 2.416 kB Halmágyi Árpád to previous | to last
4 09-Oct-2016 18:14 2.198 kB Halmágyi Árpád to previous | to last
3 09-Oct-2016 18:14 2.18 kB Halmágyi Árpád to previous | to last
2 09-Oct-2016 18:14 0.672 kB Halmágyi Árpád to previous | to last
1 09-Oct-2016 18:14 0.656 kB Halmágyi Árpád to last
« This page (revision-11) was last changed on 09-Oct-2016 18:14 by Halmágyi Árpád
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
CrushTask

JSPWiki