I´m trying to connect to an ftp-server with java.
I´ve been looking at a lot of examples, and in all of them they use:
But when i compile it i get the error:
package org.apache.commons.net.ftp.FTP does not exist
Any idea someone?
Those packages are not part of standard Java.
You'd have to download them from apache.
But i can´t find it on their website thought.
downloaded it but can still not run the program.
Because of the same error? Did you add the required jars to the classpath when compiling and running?
Yes same error.
No i didn´t. I´m pretty new to this. How do i do that?
Read this page.
Actually you might find it worth while to spend time reading these basics tutorials before trying to write ftp programs.
I´ve read it and tried to search on google.
And i´ve tried to write
C:\Users\Anna>set CLASSPATH=C:\Users\Anna\Documents\JCreator LE\MyProjects\commo
in my commandprompt and tried to do it in JCreator, but i can´t make it work.
What am i doing wrong?
See if this link about JCreator helps.