Babak Abdollahi created NET-737:
-----------------------------------
Summary: listFiles function does not return large files
Key: NET-737
URL: https://issues.apache.org/jira/browse/NET-737
Project: Commons Net
Issue Type: Bug
Components: FTP
Affects Versions: 3.11.1
Reporter: Babak Abdollahi
If the directory has a large file (~90GB) the [listFiles(String
path)|https://github.com/apache/commons-net/blob/rel/commons-net-3.11.1/src/main/java/org/apache/commons/net/ftp/FTPClient.java#L2246]
skips that file and returns the rest.
Note that listNames(String) returns all the files including the large file.
To create the large file, you can useĀ
{code:java}
fsutil file createNew huge_file.txt 100000000000 // ~93 GB{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)