commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36473] - [FTP] storeFile keeps returning false on XP only, stores nothing to FTP server
Date Sat, 03 Sep 2005 16:09:14 GMT
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=36473>.
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=36473


spamnot@polard.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From spamnot@polard.com  2005-09-03 18:09 -------
This has been fixed. The issue is that the source FileInputStream for storeFile 
does not cause an exception if the source FileInputStream on the local machine 
is empty, or returns 0 bytes. (This can occur if an incorrect path that is not 
"slashed" correctly is passed to the FileInputStream constructor before passing 
the FileInputStream object to storeFile). 
 
The issue can be avoided / resolved by ensuring that the FileInputStream DOES 
pass data into storeFile. Apparently, passing zero data into storeFile causes 
it to try and connect to the HTTP server on which the applet that is executing 
is located. 

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message