This plugin allows you to post process files using a powerful set of tasks. You can move files, rename them, copy them, execute external programs, write text files, use date variables, multithread operations, copy to FTP/FTPS/SFTP servers, etc.
The source filter is on every task. It will filter out items that don't match the source from being included in the current task item. So you may want to apply certain actions to specific file types on a per task basis.
MultiThreaded allows for tasks to run in parallel. Be sure to add a Wait task to have things stop and wait for all the separate threads that a re running before allowing the entire job to complete. This is useful to transfer a file to multiple external locations at the same time instead of sequentially.
Find#
The find task will scan a particular folder, or remote FTP, or SFTP server getting directory listings recursively up to the depth allowed. These found items can then be used by future task items.
Copy#
The copy task will take a collection of files that were either "Found" using the Find task, or passed into the plugin through an event defined in the user manager. The files in the list can be filtered down using the "Source filter" field to limit what you are copying. An example might be *.txt. The destination can reference the {path} to the original file.So you may do: /Archive/{path} or /Archive/{parent_path}/{name}
The wait amount is how long to wait to verify the file is no longer being written to by some outside process. The modified date, and file size are both compared. It will wait put o the max amount of time before giving up and aborting the job.
If you want to work with the copied files, you can have them added intuit he list of files that are being processed for future tasks. Be careful with this because if you do this, and then do a delete, both the original and copy would then be deleted.
Move#
The move task is similar to the copy task but it will just move the file to the destination location. If the move is across physical locations, it will copy, and then delete the source item to accomplish the move.
Delete#
The delete task will delete items that are in the list of files being worked with. So this includes items from the "Find" task, or items passed to the plugin through an event. It will keep attempting a delete for x seconds in the event the file is in use, or locked, etc.
Email#
The email task can send customized emails out. These emails could contain the custom form fields from an upload of a web browser, or information about the files being uploaded. <LINE>{name}</LINE> can be used to repeat for each file item being listed. Files can also be attached to the email message as well. (small files)
Execute#
This task allows for running an external process. This can allow outside integration processes to be performed. The output of these programs are fed into the log for this task to allow for monitoring of its results. keep in mind in windows, running a bat file requires running cme.exe, and passing int he arguments for cmd.exe to execute the batch file.---
Exclude#
The list of items being processed is passed from task to task, growing when you use the Find task to add more. The Exclude task allows you to remove these items from further processing. once excluded, they are no longer referenced and future task steps will not process them in any way. The source filter is used to find the items to exclude. So excluding "*" would remove all items from the list.
MakeDirectory#
This allows you to create a new folder at the specified location. During normal copy operations, directories are created as needed.
Preview#
This task will instantly pass in any found files to the preview worker inside of CrushFTP requesting for the files to have their thumbnails generates. This is only useful if you are showing previews of image type files on the WebInterface.
Rename#
This task will rename a file in its current location to have a new name.
UserVariable#
This allows you to make a variable that you will then reference in other future steps. So you might make a "archive" variable, and then reference it in other steps as {archive} so that fi that changed, you would only need to change it in one location.
UnZip#
This will unzip a file that is in the list. Its suggested you filter down on *.zip to only get valid items in case of a mixed list of items. The external unzip method will call the OS's unzip utility to unzip. This will only work on OS X, or Linux / Unix based systems. Otherwise the internal method will work too.
Zip#
This will take all items int eh list and zip them into a single file. Its suggested to then do an Exclude task to them remove all items, and then go Find the single zip you just made if you want to do further processing.
Add new attachment
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
as2_task.png | 91.3 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
compress_task.png | 54.6 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
copy_task.png | 135.1 kB | 5 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
decompress_task.png | 53.4 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
delete_task.png | 118.0 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
email_task.png | 72.3 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
exclude_task.png | 44.2 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
execute_task.png | 96.6 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
fileparser_task.png | 64.9 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
find_task.png | 129.1 kB | 5 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
findcache_task.png | 51.0 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
http_task.png | 89.5 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
java_task.png | 51.2 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
jump_task.png | 77.4 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
jump_task_groupby.png | 28.6 kB | 1 | 07-Jan-2022 14:47 | Ada Csaba | |
png |
kill_task.png | 44.5 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
link_task.png | 49.4 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
makedirectory_task.png | 109.9 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
move_task.png | 129.3 kB | 4 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
pgp_task.png | 61.2 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
popimap_task.png | 115.0 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
preview_task.png | 43.9 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
rename_task.png | 59.7 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
sort_task.png | 44.7 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
jpg |
sql_task.jpg | 141.0 kB | 1 | 03-Jun-2021 17:24 | Ada Csaba | |
png |
sql_task.png | 85.3 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
tunnel_task.png | 54.2 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
unzip_task.png | 59.1 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
userlist_task.png | 68.3 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
userslist_task.png | 31.9 kB | 1 | 29-Dec-2020 05:25 | Ben Spink | |
png |
uservariable_task.png | 68.3 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
wait_task.png | 51.8 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
writefile_task.png | 90.3 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
zip_task.png | 58.4 kB | 4 | 29-Dec-2020 05:25 | Halmágyi Árpád |