commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugène Adell (JIRA) <>
Subject [jira] [Created] (NET-667) FTP doesn't support size command
Date Mon, 04 Mar 2019 22:10:00 GMT
Eugène Adell created NET-667:

             Summary: FTP doesn't support size command
                 Key: NET-667
             Project: Commons Net
          Issue Type: Improvement
          Components: FTP
    Affects Versions: 3.6
            Reporter: Eugène Adell

The class which implements many FTP commands (cdup cwd  mkd
..) still doesn't support size command.

Indeed there is no size() method for this class, and doesn't
have the SIZE constant (as a consequence we also couldn't call sendCommand("SIZE path") as
a workaround).


Please don't misunderstand with FTPFile.getSize() which returns the size found from a list
result (this size being also wrong when dealing with symlinks, but that's another story)


This message was sent by Atlassian JIRA

View raw message