You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/03 10:12:23 UTC

DO NOT REPLY [Bug 31033] New: - All FTPEntryParser do not work with files > 4GB

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31033>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31033

All FTPEntryParser do not work with files > 4GB

           Summary: All FTPEntryParser do not work with files > 4GB
           Product: Commons
           Version: 1.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jviebig@como.com


I use commons-net-1.2.2
All FTPEntryParser only support Files smaller than 4 GB because they use 
Integer.parseInt() to parse the file size.Most FTP servers today support files 
> 4GB. FTPFile.setSize() and all other classes in commons-net supports long 
values so Long.parseLong() would be much better.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org