Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-27) was last changed on 24-Jan-2024 07:51 by Ben Spink

This page was created on 29-Dec-2020 05:25 by Ben Spink

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
All have a start and end, and use curly brackets. Some take additional parameters separated by colons. :
All have a start and end and use curly brackets. Some take additional parameters separated by colons. :
At line 17 added 8 lines
VRL encodes the inner data....@ becomes {at}, % becomes {percent} etc.
{{{
vrlencode_start
}}}
VRL decodes the inner data. {at} becomes @ etc
{{{
vrldecode_start
}}}
At line 49 changed one line
Safeguards the text for raw SQL preventing ' and ; and %, etc risks in input text.
Safeguards the text for raw SQL preventing ' and; and %, etc risks in the input text.
At line 66 added 2 lines
\\Example_2: {substring_start:-4:-1}something to find{substring_end} would result in 'find'
\\The -4 is 4 from the end, and the -1 means all the way to the end. If you did a positive 1 it would do 1 character from the 4th character to the end.
At line 77 changed one line
Add an amount tot he number. Example: {add_start:500}1000{add_end} results in 1500.
Add an amount to the number. Example: {add_start:500}1000{add_end} results in 1500.
At line 81 changed one line
Parsing a date to a millisecond value. Example: {parse_start:MMddyy HH~..~mm~..~ss}042578 22:43:12{parse_end} Note how the sideways colon is used to represent the colon since colon is our separator character. ~..~ means : in functions where that scenario occurs.
Parsing a date to a millisecond value. Example: {parse_start:MMddyy HH~..~mm~..~ss}042578 22:43:12{parse_end} Note how the sideways colon is used to represent the colon since colon is our separator character. ~..~~ means: in functions where that scenario occurs. For strict parsing use character '__=__' at the beginning of the date format like {parse_start:__=__MM/dd/yyyy}. It will parse only valid dates and fails for example for __13__/02/2022 (Month maximum number is __12__).
At line 89 changed one line
Grab a part of a formatted URL. Example: {url_start:host}ftp://demo:demo@crushftp.com/demo/folder/file.txt{url_end} would result in 'crushftp.com'
Grab a part of a formatted URL. Example: {url_start:host}ftp://demo:demo@crushftp.com/demo/folder/file.txt{url_end} would result in 'crushftp.com'. Valid items:
protocol, user, pass, host, port, path, file, and query in this order.
At line 97 changed one line
Do very basic math operation on text formatted math. Example: {math_start:l}5+5{math_end} would result in 10. The l is for LONG. f is for FLOAT. i is for INTEGER, which is the default. So {math_start:f}5+5{math_end} would result in 10.0
Do very basic math operations on text formatted math. Example: {math_start:l}5+5{math_end} would result in 10. The l is for LONG. f is for FLOAT. i is for INTEGER. d is for big numbers (double of the integer) which is the default. So {math_start:f}5+5{math_end} would result in 10.0
At line 112 added 30 lines
Reference a list of user attributes, separated by a delimitator character, of a group of users. Example: {group_start:email:MainUsers:,}Mygroup{group_end} comma-separated list of user e-mail addresses members of Mygroup from MainUsers connection group
{{{
group_start
}}}
Trace geographically an IP using https://freegeoip.net, for example {geoip_start}{user_ip}{geoip_end} in a user task
{{{
geoip_start
}}}
Turn off function replacement. If the text starts with the variable {ignore_functions} function replacement will be turned off.
{{{
ignore_functions
}}}
Log custom text to CrushFTP.log
{{{
{log_start}some text, or {variables}{log_end}
}}}
\\
!Save, Load, and Add to named list items in a job flow. (UserVariable task only) (CrushFTP 10.3.0_43+ supports this)\\
Save a copy of the current list to the name in the function (applying the filter of the UserVariable task)
{{{
save_list_start
}}}
Load a list into the current list and start using it. The existing list is discarded.
{{{
load_list_start
}}}
Add the current item to a named list.
{{{
add_list_start
}}}
Version Date Modified Size Author Changes ... Change note
27 24-Jan-2024 07:51 5.262 kB Ben Spink to previous
26 19-May-2023 03:48 5.087 kB Sandor to previous | to last
25 06-Feb-2023 02:35 5.042 kB krivacsz to previous | to last
24 06-Feb-2023 02:34 5.026 kB krivacsz to previous | to last
23 06-Feb-2023 02:33 5.026 kB krivacsz to previous | to last
22 06-Feb-2023 02:29 4.992 kB krivacsz to previous | to last
21 06-Feb-2023 02:27 4.915 kB krivacsz to previous | to last
« This page (revision-27) was last changed on 24-Jan-2024 07:51 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
CrushTask
LeftMenu

JSPWiki