sarankumarbaskar opened a new pull request, #405:
URL: https://github.com/apache/commons-net/pull/405

   UnixFTPEntryParser preserves leading spaces in filenames by default, since 
Unix filenames can legitimately start with spaces. However, some FTP servers 
(including IBM i / OS/400 returning Unix-style listings) pad the date column 
with extra spaces when showing a year instead of a time for older entries, 
causing filenames to have an unintended leading space.
   
   This was reported on the dev mailing list and tracked as NET-745. The 
trimLeadingSpaces constructor option (added in 3.4) fixes it, but the class 
Javadoc did not mention this behavior or the workaround.
   
   This PR adds a paragraph to the class Javadoc explaining the issue and 
pointing to the trimLeadingSpaces constructor.
   
   Resolves [NET-745](https://issues.apache.org/jira/browse/NET-745).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to