Hi,
Is it possible to execute a SUDO -i or SU to allow the SFTP to upload as a different user id?
Reason I ask is it makes it more convenient to upload files that are supposed to be owned by the web server, for example on Ubuntu www-data.
If I can switch to that user I don't have to mess around with changing the owner and permissions after I upload a file.