Jobs
Edit Job Template
Stop
Pause / Resume
Refresh
Restart
Last Updated :
Status :
Untitled
*
Setup
Add breakpoint to each step
Remove all Breakpoints
Copy Selected Task(s)
Paste Task(s)
Undo Paste
Save Changes
Test & Run Job
This job's status is managed by the plugin being referenced
|
||
|
||
(00:00 indicates no maximum runtime) |
||
Show XML |
Choose the plugin to schedule :
End Point
End Point
Start Point
Start Point
Items :
Type
URL
New Items :
Type
URL
Variables can be used for filenames, as part of an email address, email body, subject, or event as part of the command for the Execute task.
In the body of an email:
<LINE>Text and {variable} items can exist.</LINE>
This will result in the line repeating for each found. (Multiple file upload or download type of event.)
{r} is a return character and {n} is a new line character.
{task_error} will output the error encountered if any.
{task_errors} will output of previous errors encountered if any.
File item references:
In the body of an email:
<LINE>Text and {variable} items can exist.</LINE>
This will result in the line repeating for each found. (Multiple file upload or download type of event.)
{r} is a return character and {n} is a new line character.
{task_error} will output the error encountered if any.
{task_errors} will output of previous errors encountered if any.
File item references:
{url} actual url that points to the file {parent_url} actual url that points to the items parent folder {path} path to the file {parent_path} path to the file {name} name of the file {stem} first part of the name before the dot {ext} end part of the name including the dot {size} size of the file {speed} speed of the transfer {error} error message for the transfer if any {start} start time {end} end time {resume_loc} resume location in file {md5} MD5 hash of the uploaded file {user_dir} the directory the user saw when uploading {real_path} files local path on disk {real_parent_path} files parent folder's local path on disk {items_count} - count of total items this task is working on that were passed from the prior task {working_dir} - current working directory for the CrushFTP application.
Additionally date tags can be used:
{MM} month {dd} day {yy} or {yyyy} year {HH} 24 hour {mm} minute {hh} 12 hour {aa} AM or PM {ss} seconds {S} milliseconds {EEE} weekday abbreviation (Placing a '.' before the item name will result in the current time. A '_' will result in the file items end upload time. Ex: {.S},{_ss})
Here is an example of what you might use this plugin for.
When files are uploaded to your server, you want them backed up to another server, and an email notification sent out letting someone know about the files on the alternate server. So here are the tasks:
MakeDirectory: filter=* /archived_{MM}{dd}{yy}/
Copy: filter=* destination:ftp://myuser:[email protected]/newFiles/
Move: filter=* destination: /archived_{MM}{dd}{yy}/
Email: filter=*192.168.1.65*
When files are uploaded to your server, you want them backed up to another server, and an email notification sent out letting someone know about the files on the alternate server. So here are the tasks:
MakeDirectory: filter=* /archived_{MM}{dd}{yy}/
Copy: filter=* destination:ftp://myuser:[email protected]/newFiles/
Move: filter=* destination: /archived_{MM}{dd}{yy}/
Email: filter=*192.168.1.65*
(Search tasks in a Job, Press Esc to exit)