Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftp: add place-holder file size work-around for Globus directory listing
Motivation: For files being currently uploaded we don't yet know the file's size. As a result, the namespace declines to provide the file's size in the FileAttributes object. When making a directory listing with the MLSC command, Globus requires files have a defined size. It treats any lack of a SIZE fact as an error. Modification: This patch adds a work-around where incomplete files (those still being uploaded) have zero length, as a place-holder value. Result: Globus transfer service can now list directories that contain incomplete files, those that are still being uploaded. Target: master Request: 7.0 Request: 6.2 Request: 6.1 Request: 6.0 Request: 5.2 Requires-notes: yes Requires-book: no Patch: https://rb.dcache.org/r/12768/ Acked-by: Tigran Mkrtchyan
- Loading branch information