b9ab82214a
Now that we've got everything in place to handle files it's time to tell the server that we can actually do this. MS-RDPECLIP 3.2.5.1.3 Sending a Client Clipboard Capabilities PDU asks us politely to not advertise file clipping support if the server did not do that itself. Thus we need to parse the capabilities sent by the server and take a note whether it supports file clipping. There is also no point in advertising file clipping support if wClipboard failed to initalize any local file subsystem, in which case we cannot handle files for real. Take a note of this as well when we register the file formats. If everthing is really in place and the stars shine upon us then we are allowed to set CB_STREAM_FILECLIP_ENABLED in the capabilities. There is no command line switch to disable file clipping (and there is little reason to), so we always support it if we can. We also set an additional flag CB_FILECLIP_NO_FILE_PATHS flag in the capabilities because it seems to be necessary for the server to send the "FileGroupDescriptorW" format to us. Otherwise the server will only send the old CF_HDROP format which can't be handled well without enabled disk drive redirection and a properly negotiated server-side temporary directory. |
||
---|---|---|
channels | ||
ci/cmake-preloads | ||
client | ||
cmake | ||
docs | ||
external | ||
include | ||
libfreerdp | ||
packaging | ||
rdtk | ||
resources | ||
scripts | ||
server | ||
third-party | ||
uwac | ||
winpr | ||
.gitignore | ||
buildflags.h.in | ||
ChangeLog | ||
CMakeCPack.cmake | ||
CMakeCPackOptions.cmake.in | ||
CMakeLists.txt | ||
config.h.in | ||
LICENSE | ||
README |
FreeRDP: A Remote Desktop Protocol Implementation ================================================= FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience. Resources --------- Project website: http://www.freerdp.com/ Issue tracker: https://github.com/FreeRDP/FreeRDP/issues Sources: https://github.com/FreeRDP/FreeRDP/ Wiki: https://github.com/FreeRDP/FreeRDP/wiki Downloads and other resources: http://pub.freerdp.com API doc: http://pub.freerdp.com/api/ IRC channel: #freerdp @ irc.freenode.net Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel Microsoft Open Specifications ----------------------------- Information regarding the Microsoft Open Specifications can be found at: http://www.microsoft.com/openspecifications/ A list of reference documentation is maintained here: https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation Compilation ----------- Instructions on how to get started compiling FreeRDP can be found on the wiki: https://github.com/FreeRDP/FreeRDP/wiki/Compilation