commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Russell (JIRA)" <>
Subject [jira] [Commented] (NET-566) UnixFTPEntryParser Drops Leading Spaces from File Names
Date Thu, 01 Jan 2015 18:24:13 GMT


Gary Russell commented on NET-566:

Yes, I agree it's tricky to change this; it's a little odd to have a file start with a space,
but possible, I guess (based on the reporter's issue).

Thanks for the pointer to the MLSD/T - I'll take a look at changing our code to use that by
default and falling back to LIST if it's not supported.

Maybe that's something that could be considered in a future version of the {{FTPClient}} ?

> UnixFTPEntryParser Drops Leading Spaces from File Names
> -------------------------------------------------------
>                 Key: NET-566
>                 URL:
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.3
>         Environment: OSX client, Linux ftpd
>            Reporter: Gary Russell
> The {{UnixFTPEntryParser}} [regular expression |]
(line 106) consumes all spaces between the timestamp and the file name.
> The {{}} property ends up getting a value with stripped leading spaces.
> Reported by Spring Integration user at

This message was sent by Atlassian JIRA

View raw message