Hello,
I am trying to create a simple ftp client. I'm following the instructions from http://www.nsftools.com/tips/JavaFtp.htm(option 4)
If you take look at JakartaWrapperTest.java, The first line is
import JakartaFtpWrapper;
So When do javac JakartaFtpWrapper.java JakartaWrapperTest.java -cp commons-net-ftp-2.0.jar I get an error saying '.' expected.
And if I comment out the import line I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient
What am I doing wrong? I hope there is a simple solution to this.
Many thanks in advance.