diff --git a/src/protocols/rdp/channels/rdpdr/rdpdr-fs-messages-file-info.c b/src/protocols/rdp/channels/rdpdr/rdpdr-fs-messages-file-info.c index 1ea67016..16a6cfb0 100644 --- a/src/protocols/rdp/channels/rdpdr/rdpdr-fs-messages-file-info.c +++ b/src/protocols/rdp/channels/rdpdr/rdpdr-fs-messages-file-info.c @@ -166,7 +166,8 @@ void guac_rdpdr_fs_process_set_rename_info(guac_rdp_common_svc* svc, destination_path); /* If file moving to \Download folder, start stream, do not move */ - if (strncmp(destination_path, "\\Download\\", 10) == 0) { + if (strncmp(destination_path, "\\Download\\", 10) == 0 + && !((guac_rdp_fs*) device->data)->disable_download) { guac_rdp_fs_file* file;