Mapping of File Events to Actions
Version 12 (Panagiotis Kanavos, 05/24/2012 02:06 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 | 12 | Panagiotis Kanavos | |_.File Event |_.Local File Exists |_.Server File Exists|_.C==S |_.Network Action|_.Local Action| |
26 | 9 | Panagiotis Kanavos | |/4.Create / Change |/3.Yes | No | NA |Upload |Mark Normal | |
27 | 9 | Panagiotis Kanavos | |/2. Yes | Yes |Skip |Mark Normal | |
28 | 9 | Panagiotis Kanavos | | No |Upload |Mark Normal | |
29 | 9 | Panagiotis Kanavos | |No |_ |_ |Skip |Delete Entry | |
30 | 9 | Panagiotis Kanavos | |/2.Delete |/2._ |Yes |_ |Trash |Delete Entry | |
31 | 9 | Panagiotis Kanavos | |No |_ |Skip[1] |Delete Entry | |
32 | 9 | Panagiotis Kanavos | |Move |_ |_ |_ |Rename |Mark Normal, Rename Entry| |
33 | 1 | Panagiotis Kanavos | |
34 | 9 | Panagiotis Kanavos | [1] The client always tries to move the server file to the Trash. If the file does not exist, the client ignores the 404 error, effectively skipping the file. |
35 | 9 | Panagiotis Kanavos | |
36 | 5 | Panagiotis Kanavos | _Legend_ |
37 | 11 | Panagiotis Kanavos | *C==S* : Local actual file hash matches the current server hash |
38 | 5 | Panagiotis Kanavos | *NA* : Info not available |
39 | 5 | Panagiotis Kanavos | *_* : Do not check |