Differences

This shows you the differences between the selected revisions of the page.

2017-11-13 2017-12-06
removing unneeded exception type specification (martin) time and size hack (martin)
Line 8: Line 8:
  - Upload data files to temporary ("upload") folder and move them atomically to target folder once the upload finishes.   - Upload data files to temporary ("upload") folder and move them atomically to target folder once the upload finishes.
  - Upload data files to distinct temporary name, e.g. with ''.filepart'' extension, and rename them atomically once the upload finishes. Have the automated system ignore the ''.filepart'' files.   - Upload data files to distinct temporary name, e.g. with ''.filepart'' extension, and rename them atomically once the upload finishes. Have the automated system ignore the ''.filepart'' files.
 +- A gross hack is to periodically check for file attributes (size and time) and consider the upload finished, if the attributes has not changed for some time interval.
Here we focus on the third approach (although the second is very similar, implementation-wise). Here we focus on the third approach (although the second is very similar, implementation-wise).

Last modified: by martin