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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]