[Spice-devel] [RFC] [PATCH spice-gtk 0/4] simply implement of file drag-and-drop

Dunrong Huang riegamaths at gmail.com
Tue Nov 13 00:12:15 PST 2012


Hi,

thanks for your comment.


>> I am not convinced we need to limit file size now and especially at
>> spice-gtk level. However, I think it would be useful to announce the
>> file size to the guest agent. (in the future, the guest could ask or
>> cancel operation, during negotiation or later), and perhaps more
>> information about the dnd context (although we quite clearly don't
>> want to implement a full dnd protocol but rather just file dnd)
>
> The guest must get the file size so the agent can check that there is space available in the guest (It will then need to create a dummy file with that size in order to ensure the space is not siphoned away during the file transfer).
>
The guest knows the file size, but it does not created a dummy file
with this size. This will be fixed in v2.


--
Best Regards,

Dunrong Huang


More information about the Spice-devel mailing list