linuxsymlinktftpinetd

Accessing a symlink over tftp


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?


Solution

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

    Also is tftp your only solution here?