search for: opt_filename

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

Did you mean: eps_filename
2004 Jul 21
3
Request to an hpa-TFTP enhancement - convert '\' in filenames to '/'
...x 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++; + } logger(LOG_NOTICE, "Serving %s to %s:%d", data- >tftp_options[OPT_FILENAME].va...