From f910d29083f1b198640d7ff87bd0674d85b1b587 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Thu, 16 Apr 2020 12:14:58 -0400 Subject: [PATCH] GUACAMOLE-1031: Add call for RDP to pay attention to upload directory --- src/protocols/rdp/rdp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/protocols/rdp/rdp.c b/src/protocols/rdp/rdp.c index 9388d0cd..cc645865 100644 --- a/src/protocols/rdp/rdp.c +++ b/src/protocols/rdp/rdp.c @@ -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.");