This feature shares most of the code with printer forwarding.
This is not meant to replace a network filesystem, it is only there to facilitate the transfer of individual files between the client and server.
For more details, see #494 and #1026.
Assuming that file-transfers are enabled (which is the default - see configuration options below), the client can send files to the server using the system tray upload menu:
The server can send files to the client using:
- the
xpra send-filesubcommand - the dbus interface: #904
- the xpra control interface, ie:
xpra control :10 send-file /path/to/the-file-to-send
To send to a specific client: xpra control :10 send-file /path/to/the-file-to-send open CLIENT_UUID
The client UUID can be seen with: xpra info | grep uuid.
To send to all the clients, replace use "*". (quoted to prevent shell expansion)
Depending on the client configuration, the open flag may not be honoured by the client.
file-transferenables or disables all file transfersfile-size-limitthe maximum size for file transfersopen-filesallows files to be opened after being received - which may be a security riskopen-commandthe command to use for opening files
To debug this feature, use the flag -d file
