org.apache.commons.net.io.CopyStreamException: IOException caught while copying
I'm trying to copy some files created in my server to FTP using code in below method. But weird thing is i'm getting below error randomly and i couldn't figure out what is happening. Exception =org.apache.commons.net.io.CopyStreamException: IOException caught while copying. Below is the code by which i'm copying the files to FTP. public void copyDumpsToFTP() throws SocketException, IOException { FTPClient f= new FTPClient(); f.connect(dumpProperties.getProperty("ftpIPAddress")); boolean flag =f.login(dumpProperties.getProperty("ftpUser"),dumpProperties.getProperty("ftpPassword")); System.out.p
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.