Index: openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl,v diff -u -r1.1.2.15 -r1.1.2.16 --- openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 15 Feb 2022 13:54:06 -0000 1.1.2.15 +++ openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 15 Feb 2022 14:11:38 -0000 1.1.2.16 @@ -76,13 +76,15 @@ set timestamp [clock seconds] + set file ${file.tmpfile}.${extension} + file rename -- ${file.tmpfile} $file set artifact [::proctoring::artifact::store \ -object_id $object_id \ -user_id $user_id \ -timestamp $timestamp \ -name $name \ -type $type \ - -file ${file.tmpfile}.${extension}] + -file $file] # Notify a websocket about the upload so that e.g. a UI can be updated # in real time.