Since such functionality is not part of SFTP protocol, you'd need additional layer both on client and server to achieve this. If you only need to secure data on the server without E2E encryption, you can always use protection methods such as BitLocker (these are not without their own issues though).