El siguiente command funciona como se espera:
tftp <tftp_server_name> -c put some_file
Sin embargo, el siguiente command falla:
tftp <tftp_server_name> -c put /absolute/path/to/some_file
Y, el post de error es diferente para diferentes files. A veces se lee
Error code 1: File not found
y a veces dice
tftp: some_file: No such file or directory
tftp -V informes:
tftp-hpa 5.0, without readline
in.tftpd -V informes:
tftp-hpa 5.2, with remap, with tcpwrappers
tftpd está configurado con –create y –secure. TFTP_DIRECTORY está configurado en un directory que es rwx para todos y pertenece al usuario "nobody". El server se ejecuta en Debian wheezy, el cliente se ejecuta en Debian squeeze.
Una solución es dar explícitamente un nombre de file de destino. p.ej
tftp <tftp_server_name> -c put /absolute/path/to/some_file some_file
Además, tenga en count que si desea enviar un file a un subdirectory en el server, el subdirectory ya debe existir en el server y debe ser rwx para todos los usuarios.
por ejemplo, si quieres hacer esto
tftp <tftp_server_name> -c put /absolute/path/to/some_file some_dir/some_file
luego en el server, el directory some_dir debe existir en el TFTP_DIRECTORY. (Y some_dir debe ser rwx para todos).