Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(3) ifcollision=keep.both:  The file is downloaded to the target location, but given a modified local file name.  A second entry for the FileHandle ID is made in the Cache Map.

 

When a file is downloaded, specifying the file location is optional.  If it isn't specified the file is placed in a default 'cache folder'.  TODO:  Organization of file cache (e.g. subfolders).

Cache Map Design

Cache Entry

There is a file for each Synapse FileHandle ID that has been downloaded or uploaded.  TODO:  file naming convention and folder organization.   TODO:  file format (JSON?)

 

File Usage Examples

In each example, we have a project in which the File will reside:

...