GUACAMOLE-1031: Merge correction to handling of RDP SFTP upload directory.

This commit is contained in:
Mike Jumper 2020-09-27 16:34:56 -07:00 committed by GitHub
commit 558eb149f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -731,6 +731,12 @@ void* guac_rdp_client_thread(void* data) {
return NULL;
}
/* Configure destination for basic uploads, if specified */
if (settings->sftp_directory != NULL)
guac_common_ssh_sftp_set_upload_path(
rdp_client->sftp_filesystem,
settings->sftp_directory);
guac_client_log(client, GUAC_LOG_DEBUG,
"SFTP connection succeeded.");