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 35260] - [net] FTPClient.retrieveFile() results in 0 byte files
Date Wed, 08 Jun 2005 11:21:38 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=35260>.
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=35260





------- Additional Comments From scohen@apache.org  2005-06-08 13:21 -------
Why are you calling completePendingCommand()?  That call is already being made
from within retrieveFile(), where it is apparently returning false.  But we need
to find out why.  So instead of this:

logger.log("false return from ftp.retrieveFile()");

try

logger.log("false return from ftp.retrieveFile() - code " + ftp.getReplyCode());

to see what is going on under the covers.

How do I know this is getting called?  After all, there is an early return from
the retrieveFile() function.  How do I know we're not returning there?  Because
a directory entry is being created on your local file system.






-- 
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