Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -N -r1.35.8.2 -r1.35.8.3 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 25 Aug 2013 11:28:22 -0000 1.35.8.2 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 26 Aug 2013 07:10:52 -0000 1.35.8.3 @@ -498,9 +498,9 @@ # Therefore, we check first for the NaviServer built in ns_http, then # if the optional xotcl-core components are available... # - if {[info command ::ns_http] ne ""} { + if {[info command ::ns_http] ne "" && [ns_info patchlevel] > "4.99.5"} { # - # ... use ns_http ... + # ... use ns_http when we have a version with the "-file" flag ... # # ns_log notice "Transfer $url based to $output_file_name on ns_http" set h [ns_http queue -timeout 60:0 $url]