FreeRDP/client
ilammy b9ab82214a x11/cliprdr: negotiate file streaming support
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.
2017-04-09 03:15:49 +03:00
..
Android Cleaned up database access code. 2017-03-13 12:05:49 +01:00
common Fixed tests and dead store warnings. 2017-03-28 16:49:56 +02:00
DirectFB fix string format specifiers 2016-12-16 13:48:43 +01:00
iOS fix string format specifiers 2016-12-16 13:48:43 +01:00
Mac Fixed RPATH settings for OS X 2017-04-06 08:08:07 +02:00
Sample Fix plugin loading for the sample client 2017-02-16 14:57:36 +01:00
Wayland Install man pages 2017-01-16 11:34:32 +01:00
Windows Fixed compiler warnings and uninitialized data. 2017-02-17 11:17:45 +01:00
X11 x11/cliprdr: negotiate file streaming support 2017-04-09 03:15:49 +03:00
.gitignore wlfreerdp: add initial man page 2017-01-16 11:11:59 +01:00
CMakeLists.txt freerdp: UWP porting 2016-03-29 16:03:15 -04:00
freerdp-client.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
FreeRDP-ClientConfig.cmake.in appropriate names in server & client cmake exports 2016-02-03 13:37:35 +01:00