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





------- Additional Comments From [EMAIL PROTECTED]  2007-07-31 03:49 -------
I read the comments below.
I have double checked The FileInputStream and  it is correct and the file size 
is also not zero. But still when I am transferring the file to some Windows 
machine the storeFile is returning false.

The code snippet: 
File local = new File(localFile); 
if (local.exists()){ 
          in = new FileInputStream(local); 
          if (ftpSession.storeFile(remoteFile, in)) { 
                      System.out.println("file transferred"); 
             } 
             else{ 
                      System.out.println("file cannot be transferred"); 
             } 
} 

The remoteFile and the the local fileName are correct. Still the storeFile 
method is returning false. 

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

Reply via email to