Re: [Spice-devel] [PATCH linux vdagent] file-xfer: use better names for duplicate files

2017-04-28 Thread Frediano Ziglio
> > When transferring the same file multiple times, the vdagent tries to > avoid overwriting an existing file on the guest by appending an integer > to the filename. Instead of just appending the integer to the very end, > we now try to be smarter and append the integer before the file > extension

Re: [Spice-devel] [PATCH linux vdagent] file-xfer: use better names for duplicate files

2017-04-27 Thread Victor Toso
Hi, On Thu, Apr 27, 2017 at 04:16:31PM -0500, Jonathon Jongsma wrote: > When transferring the same file multiple times, the vdagent tries to > avoid overwriting an existing file on the guest by appending an integer > to the filename. Instead of just appending the integer to the very end, > we now

[Spice-devel] [PATCH linux vdagent] file-xfer: use better names for duplicate files

2017-04-27 Thread Jonathon Jongsma
When transferring the same file multiple times, the vdagent tries to avoid overwriting an existing file on the guest by appending an integer to the filename. Instead of just appending the integer to the very end, we now try to be smarter and append the integer before the file extension. For example