-
-
Notifications
You must be signed in to change notification settings - Fork 880
Description
Is your feature request related to a problem? Please describe.
Hello.
I'm discovering and benchmarking SFTPGo and, on my setup, I configured a medium sized disk for each users home directory and a very large disk for the teams virtual folder. Currently, the temp_pathis configured to point on a folder of the user "home directory". Technically, this behaviour :
- allows to quickly move every uploaded file from
temp_pathto userhome directory. - but needs to copy the file from the
temp_pathto the teamvirtual folder.
From the system / storage point of view, this is normal, but if the temp_path could be set to point on a relative path (for example the parent directory of each storage), this allows to always uploading files on the right target disk, avoiding a final file copy or avoiding to switching the upload_mode to the default 0.
Describe the solution you'd like
Ability to set the temp_pathto a relative path from each storage, meaning
If configured to ..:
- The user
home directoryis/home/user/sftpgo- The
temp_pathis/home/user
- The
- The
virtual folderis/export/share/sftpgo- The
temp_pathis/export/share
If configured to.upload:
- The
- The user
home directoryis/home/user/sftpgo- The
temp_pathis/home/user/sftpgo/.upload
- The
- The
virtual folderis/export/share/sftpgo- The
temp_pathis/export/share/sftpgo/.upload
- The
Describe alternatives you've considered
Switching the upload_mode to the default 0.
What are you using SFTPGo for?
Private user, home usecase (home backup/VPS), Professional user, 1 person business
Additional context
No response