
| Key: |
NET-11
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Kurt Kessel
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Operating System: All
Platform: Other
Operating System: All
Platform: Other
|
|
|
The FTPFile.getSize() returns a 0 when the file size is actually larger than 2GB
(Integer.MAX_VALUE) although the return type is a long.
|
|
Description
|
The FTPFile.getSize() returns a 0 when the file size is actually larger than 2GB
(Integer.MAX_VALUE) although the return type is a long. |
Show » |
|
Most of the new parsers parsed the file size as an integer instead of
a long, as was done by the old DefaultFTPFileListParser. Changed all
of them to set the size to long.
Affected files:
EnterpriseUnixFTPEntryParser.java
NTFTPEntryParser.java
OS2FTPEntryParser.java
OS400FTPEntryParser.java
UnixFTPEntryParser.java
VMSFTPEntryParser.java
Please verify fix against CVS HEAD before closing.