Skip to content

Problem transfering files with brackets in filename #53

@Mark-Five

Description

@Mark-Five

Platform : Win10 x64
Java : 8/181 x64 (latest)
Using ADTPro release 2.0.3 on apple //e with SSC
Filename : SHERWOOD FOREST (1982)(PHOENIX SOFTWARE).dsk

Content of trace window :
Exception in thread "Thread-2" java.util.regex.PatternSyntaxException: Unclosed group near index 40
SHERWOOD FOREST (1982)(PHOENIX SOFTWAR..
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.accept(Unknown Source)
at java.util.regex.Pattern.group0(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.matches(Unknown Source)
at java.lang.String.matches(Unknown Source)
at org.adtpro.gui.Gui$1.accept(Unknown Source)
at java.io.File.list(Unknown Source)
at org.adtpro.gui.Gui.getFiles(Unknown Source)
at org.adtpro.CommsThread.sendDirectoryWide(Unknown Source)
at org.adtpro.CommsThread.dispatchCommand(Unknown Source)
at org.adtpro.CommsThread.commandLoop(Unknown Source)
at org.adtpro.CommsThread.run(Unknown Source)

Renaming the file (removal of brackets) solves the problem.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions