Hi All,
I am trying to use
Java FTP API from Apache to interact with CE (Corporate Enterprise) UNIX FTP.
I am not able to List files. Same code is able to list files from a regular FTP though.
Here is the code:
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
The Output returned is:
file - 0 null
file - 1 null
file - 2 null
So basically the FTPFile[] array is being populated with correct number, as many files i have on FTP (i.e. 3).
BUT, the FTPFile object inside the array are NULL.
For other regular FTPs these FTP File Objects are populated correctly.
I even tried using the default parser as:
FTPListParseEngine engine = ftpClient.initiateListParsing(directory);
same output.
Please help
Thanks.