in-progress uploads to have temporary extension
Is your feature request related to a problem? Please describe.
Hi,
I use your wonderful software on windows. When I'm uploading a file, external scripts and automations I use find and start to work with the file before it has finished uploading.
To prevent that I enabled upload_mode = 1, but unfortunately that uses a generated filename while keeping the original extension, so that does not help in my case.
I then set temp_path outside of the webroot, but upon completion, the file is moved back to its destination but the ntfs acl of the parent folder is not applied for some reason which makes the file inaccessible. This does not occur when the file is uploaded directly to its destination.
Describe the solution you'd like
I would find it practical for upload_mode 1 and 2 to use a .tmp extension. I also find it undesirable (if not a bug) for a finished upload to not inherit its parent's acl when moved in place.
Describe alternatives you've considered
No response
What are you using SFTPGo for?
Private user, home usecase (home backup/VPS)
Additional context
I wanted to let you know about my experiences. Thank you for considering it as a suggestion!
Source: drakkan/sftpgo