GUACAMOLE-1031: Add call for RDP to pay attention to upload directory

This commit is contained in:
Nick Couchman 2020-04-16 12:14:58 -04:00
parent 9c37fc5617
commit f910d29083

View File

@ -633,6 +633,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.");