Mapping of File Events to Actions
Version 7 (Panagiotis Kanavos, 05/23/2012 10:14 pm)
1 | 1 | Panagiotis Kanavos | h1. Mapping of File Events to Actions |
---|---|---|---|
2 | 1 | Panagiotis Kanavos | |
3 | 1 | Panagiotis Kanavos | h2. File System Events |
4 | 1 | Panagiotis Kanavos | |
5 | 1 | Panagiotis Kanavos | The File Agent raises the following events in response to local changes: |
6 | 1 | Panagiotis Kanavos | |
7 | 1 | Panagiotis Kanavos | * Creation |
8 | 1 | Panagiotis Kanavos | * Modification |
9 | 1 | Panagiotis Kanavos | * Deletion |
10 | 1 | Panagiotis Kanavos | * Move (also raised for renames) |
11 | 1 | Panagiotis Kanavos | |
12 | 1 | Panagiotis Kanavos | h2. Actions |
13 | 1 | Panagiotis Kanavos | |
14 | 1 | Panagiotis Kanavos | The actions that can be performed in response to local events are: |
15 | 1 | Panagiotis Kanavos | |
16 | 1 | Panagiotis Kanavos | * Upload the file |
17 | 1 | Panagiotis Kanavos | * Delete the file from the server |
18 | 1 | Panagiotis Kanavos | * Flag the file in Conflict |
19 | 1 | Panagiotis Kanavos | |
20 | 1 | Panagiotis Kanavos | h2. Mappings |
21 | 1 | Panagiotis Kanavos | |
22 | 1 | Panagiotis Kanavos | Local file events map to actions as follows: |
23 | 1 | Panagiotis Kanavos | |
24 | 1 | Panagiotis Kanavos | |
25 | 3 | Panagiotis Kanavos | |_.File Event|_.Local Exists|_.Server Exists|_.C==S(0) |_.C==S(-1) |_.Network Action|_.Local Action| |
26 | 6 | Panagiotis Kanavos | |/5.Create / Change |/4.Yes | No | NA | NA |Upload |Mark Normal | |
27 | 2 | Panagiotis Kanavos | |/3. Yes | Yes |_ |Skip |Mark Normal | |
28 | 2 | Panagiotis Kanavos | |/2. No | Yes |Upload |Mark Normal | |
29 | 2 | Panagiotis Kanavos | | No |Conflict |Mark Conflict | |
30 | 1 | Panagiotis Kanavos | |No | _ |_ |_ |Skip |Delete Entry | |
31 | 7 | Panagiotis Kanavos | |Delete |_ |_|_ |_ |trash |Delete Entry | |
32 | 1 | Panagiotis Kanavos | |Move |_ |_ |_ |_ |Rename |Mark Normal, Rename Entry| |
33 | 4 | Panagiotis Kanavos | |
34 | 4 | Panagiotis Kanavos | _Legend_ |
35 | 5 | Panagiotis Kanavos | *C==S(0)* : Local file hash matches the current server hash |
36 | 5 | Panagiotis Kanavos | *C==S(-1)* : Local file hash matches the previous server hash |
37 | 5 | Panagiotis Kanavos | *NA* : Info not available |
38 | 5 | Panagiotis Kanavos | *_* : Do not check |