augie/tranche

Invalid File Name Characters

Closed this issue · 1 comments

When downloading, an exception is thrown when trying to create a file with 
invalid Windows characters: \ / : * ? " < > |

java.io.IOException: The filename, directory name, or volume label syntax is 
incorrect 
java.io.WinNTFileSystem.createFileExclusively(Native Method) 
java.io.File.createNewFile(Unknown Source) 
org.tranche.get.GetFileTool.createTemporaryFile(GetFileTool.java:819) 
org.tranche.get.GetFileTool.access$500(GetFileTool.java:76) 
org.tranche.get.GetFileTool$MetaChunk.(GetFileTool.java:2262) 
org.tranche.get.GetFileTool.getDirectory(GetFileTool.java:983) 
org.tranche.gui.get.DownloadSummary$1.run(DownloadSummary.java:189) 

Original issue reported on code.google.com by augma...@gmail.com on 28 Jan 2010 at 8:25

Replace bad characters in all directory and file names with -

Original comment by augma...@gmail.com on 28 Jan 2010 at 8:26