Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#224 Scriptlet integration

open
nobody
None
5
2012-07-17
2012-07-17
Ronald A
No

It would be helpful to have the possibility to assign scriptlets to different stages of a synchronization.
e.g. Defining a scriptlet (Groovy) to the stage "After copy file" to delete the copied file after synchronization.

A scriptlet could be bound to different criteria:
- Type of synchronization (e.g. copy, sync A->B, sync A<->B, move, etc..)
- Synchronization artefact (e.g. when sync a file, a directory, whole synchronization)
- Sync time: (e.g. before or after synchronization)
- Status: (e.g. sync ok, sync failed, sync skipped)
- Events (e.g. file deleted, file added, file updated, ...)

e.g.
Define the script
{sourcefile.delete();)
on A->B synchronization, AFTER a FILE has been SUCCESSFULLY COPIED when the file was NEW (did not exist on B)

Discussion