We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3687706 commit b59310eCopy full SHA for b59310e
src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
@@ -206,6 +206,11 @@ public void testCorrectGroupNameParsing() {
206
cal.set(Calendar.MILLISECOND, 0);
207
assertEquals(cal.getTime(), f.getTimestamp().getTime());
208
}
209
+
210
+ public void testFilenamesWithEmbeddedNumbers() {
211
+ FTPFile f = getParser().parseFTPEntry("-rw-r--r-- 1 root root 111325 Feb 25 12:00 123 456 abc.csv");
212
+ assertEquals(f.getName(), "123 456 abc.csv");
213
+ }
214
215
/**
216
* @see org.apache.commons.net.ftp.parser.FTPParseTestFramework#testParseFieldsOnDirectory()
0 commit comments