diff -uNr ftpd1.2.5-orig//ftpd.tcl ftpd1.2.5-bug3325229/ftpd.tcl
--- ftpd1.2.5-orig//ftpd.tcl	2011-06-06 22:59:33.000000000 +0000
+++ ftpd1.2.5-bug3325229/ftpd.tcl	2011-06-23 16:02:25.024732205 +0000
@@ -1358,7 +1358,7 @@
     }
 
 
-    if {![catch {::ftpd::Fs rename $data(renameFrom) $path} msg]} {
+    if {![catch {::ftpd::Fs rename $data(renameFrom) $path $sock} msg]} {
         unset data(renameFrom)
     } else {
         unset data(renameFrom)
