You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Palaash Jain <pa...@gmail.com> on 2025/10/08 12:23:39 UTC
File Transfer Over Clipboard - Windows Build
Hi,
I went through the issues on Jira, specifically GUACAMOLE-55 and it is
indeed a much needed feature.
I am using libguac built on Windows using msys64 mingw64, Jetty to host
Guacamole's frontend and a simple WinSocket listening on 4822.
However, for my use case, I am not running the frontend in an actual
browser but inside a webview container (in C#).
This way I can bypass any restrictions needed to get this working properly.
Specifically, I want the user to be able to simply Ctrl+C a file/folder on
local, Ctrl+V inside the server and the file transfer happens over
clipboard and vice-versa.
What are your suggestions for this? Which components should I target and
make changes in to get this working seamlessly so that
I can try to prototype and get a basic working version?
I have tested with wfreerdp built on Windows using Visual Studio, Windows
SDKs and it's working well.
Regards,
Palaash Jain
Re: File Transfer Over Clipboard - Windows Build
Posted by Michael Jumper <mj...@apache.org>.
On 10/9/25 11:04 AM, Arnaud bourree wrote:
> Hi,
>
> Take in mind clipboard buffer limite in guacd : 256Kb and it is byte64
> string ... around 87Kb of data.
>
No, use of base64 at the protocol level has no impact on the amount of
clipboard data allowed. The limit is simply 256k.
That limit is also rooted in current usage of the clipboard to transmit
text (where it makes sense to store the entire clipboard contents in
server-side memory and enforce a size limit), so it would be expected
that implementing copy/paste of entire files would require changes to
the current approach.
- Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: File Transfer Over Clipboard - Windows Build
Posted by Arnaud bourree <ar...@gmail.com>.
Hi,
Take in mind clipboard buffer limite in guacd : 256Kb and it is byte64
string ... around 87Kb of data.
Arnaud
Le jeu. 9 oct. 2025, 14:53, Nick Couchman <vn...@apache.org> a écrit :
> On Thu, Oct 9, 2025 at 8:40 AM Palaash Jain <pa...@gmail.com>
> wrote:
>
>> Thanks Nick, I will try.
>>
>> There must be definitely some reason why it is not implemented. Can it
>> break something that I can't see?
>> And also I can't test it without changing the frontend right?
>> I'll have to first get the server side working and then make changes in
>> the client side to test.
>>
>>
> I think the only reasons that it hasn't been implemented are 1) it hasn't
> been important enough to enough people, and 2) no one has taken the time to
> do it. Other than that, I don't know of any reason why it hasn't been done.
>
> Yes, you'll have to implement changes on the front-end, in addition to the
> guacd changes.
>
> -Nick
>
>>
Re: File Transfer Over Clipboard - Windows Build
Posted by Nick Couchman <vn...@apache.org>.
On Thu, Oct 9, 2025 at 8:40 AM Palaash Jain <pa...@gmail.com>
wrote:
> Thanks Nick, I will try.
>
> There must be definitely some reason why it is not implemented. Can it
> break something that I can't see?
> And also I can't test it without changing the frontend right?
> I'll have to first get the server side working and then make changes in
> the client side to test.
>
>
I think the only reasons that it hasn't been implemented are 1) it hasn't
been important enough to enough people, and 2) no one has taken the time to
do it. Other than that, I don't know of any reason why it hasn't been done.
Yes, you'll have to implement changes on the front-end, in addition to the
guacd changes.
-Nick
>
Re: File Transfer Over Clipboard - Windows Build
Posted by Palaash Jain <pa...@gmail.com>.
Thanks Nick, I will try.
There must be definitely some reason why it is not implemented. Can it
break something that I can't see?
And also I can't test it without changing the frontend right?
I'll have to first get the server side working and then make changes in the
client side to test.
-Palaash
On Wed, 8 Oct 2025 at 18:27, Nick Couchman <vn...@apache.org> wrote:
> On Wed, Oct 8, 2025 at 8:24 AM Palaash Jain <pa...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I went through the issues on Jira, specifically GUACAMOLE-55 and it is
>> indeed a much needed feature.
>>
>> I am using libguac built on Windows using msys64 mingw64, Jetty to host
>> Guacamole's frontend and a simple WinSocket listening on 4822.
>>
>> However, for my use case, I am not running the frontend in an actual
>> browser but inside a webview container (in C#).
>> This way I can bypass any restrictions needed to get this working
>> properly.
>> Specifically, I want the user to be able to simply Ctrl+C a file/folder
>> on local, Ctrl+V inside the server and the file transfer happens over
>> clipboard and vice-versa.
>>
>> What are your suggestions for this? Which components should I target and
>> make changes in to get this working seamlessly so that
>> I can try to prototype and get a basic working version?
>>
>> I have tested with wfreerdp built on Windows using Visual Studio, Windows
>> SDKs and it's working well.
>>
>>
> I don't know that I have any suggestions for it other than that it just
> needs someone to implement it. You're welcome to have a go at it, just be
> mindful of the contribution guidelines:
>
> https://guacamole.apache.org/open-source/
>
> -Nick
>
Re: File Transfer Over Clipboard - Windows Build
Posted by Nick Couchman <vn...@apache.org>.
On Wed, Oct 8, 2025 at 8:24 AM Palaash Jain <pa...@gmail.com>
wrote:
> Hi,
>
> I went through the issues on Jira, specifically GUACAMOLE-55 and it is
> indeed a much needed feature.
>
> I am using libguac built on Windows using msys64 mingw64, Jetty to host
> Guacamole's frontend and a simple WinSocket listening on 4822.
>
> However, for my use case, I am not running the frontend in an actual
> browser but inside a webview container (in C#).
> This way I can bypass any restrictions needed to get this working properly.
> Specifically, I want the user to be able to simply Ctrl+C a file/folder on
> local, Ctrl+V inside the server and the file transfer happens over
> clipboard and vice-versa.
>
> What are your suggestions for this? Which components should I target and
> make changes in to get this working seamlessly so that
> I can try to prototype and get a basic working version?
>
> I have tested with wfreerdp built on Windows using Visual Studio, Windows
> SDKs and it's working well.
>
>
I don't know that I have any suggestions for it other than that it just
needs someone to implement it. You're welcome to have a go at it, just be
mindful of the contribution guidelines:
https://guacamole.apache.org/open-source/
-Nick