FTPClient.storeFile returns false in case the file is being transferred to some Windows machine -----------------------------------------------------------------------------------------------
Key: NET-167 URL: https://issues.apache.org/jira/browse/NET-167 Project: Commons Net Issue Type: Bug Affects Versions: 1.4 Environment: Operating System: Windows Reporter: shashidhar gaurav misra Priority: Critical Fix For: 1.5 The method works perfectly in case I am transferring the file to a Linux/Unix machine. However if I am transferring a file to a windows machine the storeFile method returns 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]