API additions for sftp