Index: lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/Bundler.java =================================================================== RCS file: /usr/local/cvsroot/lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/Bundler.java,v diff -u -r1.3 -r1.4 --- lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/Bundler.java 9 Feb 2009 23:48:16 -0000 1.3 +++ lams_learning/src/java/org/lamsfoundation/lams/learning/export/web/action/Bundler.java 12 Feb 2009 03:02:28 -0000 1.4 @@ -55,13 +55,13 @@ } } - protected void copyFile(String destDirStr, File srcFile) throws IOException { + protected void copyFile(String destFilePath, File srcFile) throws IOException { - log.debug("Copying file " + srcFile + " to " + destDirStr); - File destDir = new File(destDirStr); + log.debug("Copying file " + srcFile + " to " + destFilePath); + File destFile = new File(destFilePath); try { - FileUtils.copyFileToDirectory(srcFile, destDir); + FileUtils.copyFile(srcFile, destFile); } catch (IOException e) { String message = "Unable to write out file needed for export portfolio. File was " + srcFile; log.error(message, e);