Ok, but for some unix like system? the server -> client system looks like this (just like the other way around)
-> Announce a format FileGroupDescriptorW with a list of available files (relative paths) from server -> That is announced in ServerFormatList -> That contains the file FILEDESCRIPTOR list you extract with the function you mentioned (file name, access rights, ...) -> From that present some file system level view (fuse?) and post the paths to the local clipboard. -> when a file is pasted (fuse read function?) request -> File size first (ClientFileContentsRequest with the size flag) -> Data in ServerFileContentsResponse -> Repeat with ClientFileContentsRequest range flag -> Data in ServerFileContentsResponse regards Armin On 2/19/19 12:17 PM, Alexandr via FreeRDP-devel wrote: > В Вт, 19/02/2019 в 11:21 +0100, Armin Novak via FreeRDP-devel пишет: > > Hi, > > > > xfreerdp already supports the client -> server file copy. Which > > client > > are you trying to implement that for? > > > Hard part is the server -> client anyway ;) > > > > regards > > > Armin > > > > On 2/19/19 11:06 AM, Alexandr via FreeRDP-devel wrote: > >> hi all. > >> i am working on clipboard filetransfers. > >> now i am implementing client->server part. > >> looks like i am stuck. > >> > >> i can't find a way to convert FILEDESCRIPTOR obtained by > >> cliprdr_parse_file_list to CLIPRDR_FILE_CONTENTS_REQUEST used by > >> ClientFileContentsRequest. > >> i can't find where to get streamId. > >> > >> maybe i need to parse clipboard data manually instead of using > >> cliprdr_parse_file_list ? > >> > >> > >>>>> _______________________________________________ > FreeRDP- > >>>>> devel > > mailing list > FreeRDP-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > > > > _______________________________________________ > > FreeRDP-devel mailing list > > FreeRDP-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > > sorry, typo, i am implementing server -> client now .... > > > > > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel