On Fri, 28 Oct 2022 at 07:57, Antonio Apostoliu <antonioaposto...@gmail.com> wrote: > > Hello > > I use Qemu 6.2.0 on Windows 10. > I launch qemu with this script: > ..\qemu\qemu-system-x86_64.exe -m 512 -smp 1 -hda images/d.qcow2 ^ > -nic user,tftp=trf,hostfwd=tcp:127.0.0.1:2222-:22 > > > Before run script I typed > icacls .\trf /grant:r "%username%":(OI)(CI)F /T > > Downloads from host to vm works. > Uploads from vm to host does not works.
This is expected. QEMU's built-in TFTP server is read-only: it is intended (together with the BOOTP support) for allowing guests that need to do a network boot to load the network-boot-files. It's not a general-purpose file-transfer mechanism. (We ought to document this in the docs somewhere.) thanks -- PMM