You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/01/05 07:00:41 UTC
DO NOT REPLY [Bug 32947] New: -
FormFile.getFileSize() returns 0
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=32947>.
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=32947
Summary: FormFile.getFileSize() returns 0
Product: Struts
Version: 1.2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: File Upload
AssignedTo: dev@struts.apache.org
ReportedBy: milo@felipe.ph
After uploading a file and getting a FormFile object, I get 0 when calling
getFileSize() whenever the file uploaded has a big filesize (e.g. 2MB). But I
get the correct filesize if the the file uploaded has a small filesize (e.g.
100Kb). I think the method getFileSize() should return a "long" value instead
of the current "int" so that it can handle big sizes in bytes.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org