[
https://issues.apache.org/jira/browse/NET-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007280#comment-18007280
]
Babak Abdollahi commented on NET-737:
-------------------------------------
Sorry for delay [~ggregory]
here is the log you requested:
{code:java}
[7/14/25, 14:09:30:380 UTC] 0000002f SystemOut
O 220 IBM Business Analytics File Transfer
[7/14/25, 14:09:30:396 UTC] 0000002f SystemOut
O AUTH TLS
[7/14/25, 14:09:30:396 UTC] 0000002f SystemOut
O 234 AUTH Command OK. Initializing SSL connection.
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O USER *******
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O 331 Password required for fileTrasferUser1.
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O PASS *******
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O 230 Login OK. Proceed.
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O PBSZ 0
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O 200 PBSZ Command OK. Protection buffer size set to 0.
[7/14/25, 14:09:30:443 UTC] 0000002f SystemOut
O PROT P
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O 200 PROT Command OK. Using Private data connection.
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O OPTS UTF8 ON
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O 200 Entering UTF-8 mode.
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O SYST
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O 215 UNIX Type: L8
[7/14/25, 14:09:30:458 UTC] 0000002f SystemOut
O PASV
[7/14/25, 14:09:30:474 UTC] 0000002f SystemOut
O 227 Entering Passive Mode (169,48,17,7,17,109).
[7/14/25, 14:09:30:474 UTC] 0000002f SystemOut
O LIST /babak/test2
[7/14/25, 14:09:30:474 UTC] 0000002f SystemOut
O 150 Opening ASCII mode data connection for file list.
[7/14/25, 14:09:30:536 UTC] 0000002f SystemOut
O 226 Transfer complete. 291 bytes transferred. 291 bps.
{code}
> 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)