Added SFTP endpoint and exception handler