libunftp
libunftp copied to clipboard
REST behaviour
unFTP could have a race condition with the REST command. When a transfer is interrupted and then resumed with REST, unFTP should make sure it is resuming the same file or object. For GCS this can be verified through the version/generation number. In a regular FS perhaps this can be based on.. the inode? Otherwise file corruption is possible in some cases, especially for the GCS backend.