Accessing a symlink over tftp

10.6k views Asked by At

I am using GNU inetd and tftpd (under cygwin, but that shouldn't matter), and I need to have many symbolic links pointing to only a few different files, which should be accessible via tftp.

tftp directory looks like this:

lrwxrwxrwx 1 12 Jun  4 21:29 link.bin -> file.bin
-rw-r--r-- 1  6 Jun  2 01:38 file.bin

and tftp says this:

tftp> get link.bin
Error code 1: File not found

I used ln -s file.bin link.bin

Can tftpd handle symlinks? What am I doing wrong?

1

There are 1 answers

3
joeg1ff On BEST ANSWER

Will tftp pull the file when you try to tftp file.bin directly?

Also is tftp your only solution here?