Index: openacs-4/packages/file-storage/www/download-archive/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/download-archive/index.vuh,v diff -u -r1.3 -r1.4 --- openacs-4/packages/file-storage/www/download-archive/index.vuh 31 May 2002 19:06:23 -0000 1.3 +++ openacs-4/packages/file-storage/www/download-archive/index.vuh 6 Aug 2002 13:27:15 -0000 1.4 @@ -11,7 +11,7 @@ } if {[exists_and_not_null object_id]} { - set download_name [fs::get_object_name -object_id $object_id] + set download_name [fs::get_file_system_safe_object_name -object_id $object_id] set ext [fs::get_archive_extension] if {![empty_string_p $ext]} { append download_name ".${ext}" @@ -45,7 +45,7 @@ set out_path [ns_tmpnam] file mkdir $out_path -set out_file "${out_path}/${download_name}" +set out_file [file join ${out_path} ${download_name}] # get the archive command set cmd [fs::get_archive_command -in_file $file_name -out_file $out_file]