MetPX / sarracenia

https://MetPX.github.io/sarracenia
GNU General Public License v2.0
45 stars 22 forks source link

sr_subscibe download compatibility with PDS 0 permission delivery model. #30

Open petersilva opened 6 years ago

petersilva commented 6 years ago

When delivering a file need a protocol to tell the receiver not to touch it until delivery is complete. inflight does this for a number of methods. PDS-style method with 0 permissions is not yet supported, and none of the inflight methods are supported by subscribe right now.

This is an import of bug #63 from sourceforge.net. from 2017/04. Since then inflight options have been expanded, better documented and made to work with all components in the same way. but 0 permission hand-off remains an issue.

This can't be done with SFTP, protocol does not allow us to set permission bits on file creation on the far end, so it could only be done with an sr_subscribe downloader. If you have sr_subscribe, then just replace PDS with Sundew and use .tmp...

Eric F. really wants this... not sure why...

petersilva commented 6 years ago

perhaps talk to Eric F. and see if there is still a need for this with current versions.