Fixed uploading to sftp repo.