Call for tftpd-hpa advice

Hello,

I've installed tftpd-hpa server from standard UM repository on my desktop UM 18.04.

While testing installation with local tftp client (tftp-hpa) I've stumbled upon the problem. Namely, tftpd-hpa accepts uploads and creates target files of zero length.

Alas, googling is of no help.
Any ideas, please?

can you show the /etc/default/tftpd-hpa config?

No, I'm at home now. But I can tell that it is standard one except for added --create tftpd option. Like this: TFTP_OPTIONS="--secure --create"

Check your permissions ...

on serverA, installed tftpd-hpa, created /srv/tftp, added debian.iso in there. Adjusted options like yours in the config file, chown tftp:tftp /srv/tftp, restarted tftpd.

On client, installed tftp-hpa, then tftp serverA, get debian.iso, it brought it in.

Thank you for your reply!
Permissions were fine. I 'chowned' default /var/lib/tftpboot directory.
Just to be unambiguous: downloads work (i.e. get <file> client command) and uploads (i.e. put <file>client command) are problematic.

I was able to put a file from client to serverA, it shows as

ls -l /srv/tftp
-rw-rw-rw- 1 tftp tftp   758 Feb 27 11:03 somefile

Maybe /etc/init.d/tftpd-hpa restart

Ok, got it. Thank you for your effort!
Provided your positive experience I'd try to sort it out.