From: Maksym Z. <siq...@gm...> - 2022-07-15 14:51:03
|
Hello, I have a question about how to return the original file name. For example: ns_register_proc GET /dev/rtrn_file ::dev::rtrn_file proc rtrn_file {args} { set f [file join /tmp test.csv] ns_returnfile 200 [ns_guesstype "$f"] $f } When I do GET request I'm getting "rtrn_file.csv" instead of "test.csv" Maybe I'm doing it wrong. Thank you. |