This discussion is archived
1 Reply Latest reply: May 13, 2013 12:08 PM by TPD-Opitz-Consulting-com RSS

ftp from server to another server

1006951 Newbie
Currently Being Moderated
Hello,

I am new to FTP java api. I wanted to do a Ftp transfer from one server to another server using java. I have the connection details for both servers. I found a link with some code but when I try to execute it it throws an error "Couldn't initiate transfer. Check that filenames are valid."
This is the link-->http://commons.apache.org/proper/commons-net/examples/ftp/ServerToServerFTP.java

Please advise.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points