[
https://issues.apache.org/jira/browse/NET-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004250#comment-18004250
]
Babak Abdollahi commented on NET-737:
-------------------------------------
Yes. FileZilla & WinSCP show all the files including the large one.
[listNames()|https://github.com/apache/commons-net/blob/rel/commons-net-3.11.1/src/main/java/org/apache/commons/net/ftp/FTPClient.java#L2337]
is also returning all the files. Just listFiles() is missing that file.
> 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
> Priority: Major
>
> 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)