You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/02/20 10:56:59 UTC

[GitHub] [commons-net] bravehorsie edited a comment on issue #47: Fix VMS ftp LIST parsing - allocated part is optional.

bravehorsie edited a comment on issue #47: Fix VMS ftp LIST parsing - allocated part is optional.
URL: https://github.com/apache/commons-net/pull/47#issuecomment-586968760
 
 
   This PR fixes a failure to parse server output on LIST command when size / allocated part is missing slash and allocated value. I am not sure if there is any specification on that subject to make clear if this is a valid server output or not, however MultiNet FTP Server Process V5.1(16) does this reply, for example:
   ```
   FILE123.DAT;1
   64   4-MAR-2019 00:04 [USR,USRGROUP] (RWED,RWED,RWED,R)
   FILE456.DAT;1
   102  28-APR-2013 23:12 [USR,USRGROUP] (RWED,RWED,RWED,R)
   ```
   Here metadata line of each listed file should start with **size / allocated** (for example "64 / 128") before date value, however only the size is sent back by the server.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services