[Bug]: SFTPGo moves partially uploaded file to user folder using atomic upload_mode
Author: goldmontCreated May 22, 2025Updated Jul 9, 2026
Labelsbug
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
Bug description
Hi,
Using FTP service and atomic upload_mode, I double-checked the service to work properly. So, using the web interface, I've uploaded a file simulating a slow connection. I can see the temporary file in the correct folder but, as soon as I refresh the browser page while it's still uploading the file, SFTPGo moves the file from the temporary folder to the user folder. That's not the expected behavior. I expect SFTPGo to delete the partially uploaded file as the documentation states.
Any help?
Expected behavior
I expect SFTPGo to delete the partially uploaded file.
SFTPGo version
Latest 2.6.x
Data provider
Local FTP service
Installation method
Community Docker image
Configuration
SFTPGO_COMMON__UPLOAD_MODE: 1
SFTPGO_COMMON__TEMP_PATH: /srv/sftpgo/tmp
SFTPGO_SFTPD__BINDINGS__0__PORT: 0
SFTPGO_FTPD__BINDINGS__0__PORT: 2121What are you using SFTPGo for?
Private user, home usecase (home backup/VPS)
Source: drakkan/sftpgo