Index: openacs-4/packages/contacts/www/import-csv-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/import-csv-2.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/contacts/www/import-csv-2.tcl 12 Aug 2018 12:33:06 -0000 1.2 +++ openacs-4/packages/contacts/www/import-csv-2.tcl 26 Nov 2024 09:23:38 -0000 1.3 @@ -34,8 +34,8 @@ } # Get the CSV File -set new_file_path [ns_tmpnam] -ns_cp $file_path $new_file_path +set new_file_path [ns_mktemp] +file copy $file_path $new_file_path set csv_stream [open $file_path r] fconfigure $csv_stream -encoding utf-8 ns_getcsv $csv_stream headers