Do you see any error messages when you try to create a getStream:
var get = client.createGetStream ("remote-file.txt");
I suggest you first check if the tftp server is up and working. Eg in ubuntu you can check that by:
user@12345689:~$ sudo service tftpd-hpa status
● tftpd-hpa.service - LSB: HPA's tftp server
Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
Active: active (running) since Tue 2020-05-12 19:29:40 PDT; 12h ago
Sometimes the firewall can get on the way
user@12345689:~$ sudo service ufw status
● ufw.service - Uncomplicated firewall
Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: enab
Active: inactive (dead) since Wed 2020-05-13 07:30:16 PDT; 4min 22s ago
On the machine where you have tftp and on other remote machine you can test tftp by:
user@12345689:~$tftp
> get 10.0.0.50:remote-file.txt
received 2000 bytes