search for: get_rrq

Displaying 1 result from an estimated 1 matches for "get_rrq".

Did you mean: get_rr
2004 Jul 21
3
Request to an hpa-TFTP enhancement - convert '\' in filenames to '/'
...ooting XP machine, the TFTP server has to accept '\' in filenames and convert them to be accepted by Linux and the TFTP process. The above mentioned website contains a patch for the AFTPD server to make this conversion. >>> switch (retval) { case GET_RRQ: + { + /* Windows client hack */ + char *seek = (char*) &(data- >tftp_options[OPT_FILENAME].value); + if (*seek == '\\') + while (*seek) + { + if (*seek == '\\') *seek = '/'; + seek++; + }...