Hey Jeff thanks a lot ! I read the whole article and decided that I would use Jakarta Commons/Net library.But you see I have never used another library before other than the standard code which comes with jdk.So I am not sure as to how I can import it in my code.
I did as some tutorials suggested , adding the commons-net-1.4.1-src.zip in the classpath but I can not import from it.I tried playing around with its position but nothing worked so far.How do you use a library you jave just downloaded in your code?I have never done that before
To add a Jar:
If you are in an IDE you generally set it in projedct properties.
If you are on the command line you put a reference in your classpath:
eg java --classpath .;foo.jar
However it looks like you downloaded source not the jar This means you are either going to have to put it in with ther est of your source code to compile as aprt of your own source base OR compiel it yourself seperately into a JAR
or go find one thats already compield into a JAR for you.
Also later .... when I will want whoever acceses the ftp server to be able to do that thing I want , where in the ftp should I put the library ? I am confused as to how this whole thing works
See above. If the JAR also has a native portion with it (ftp shouldnt) then you also need to make that dll/so/whatever your local natvie format dynamic load library is available on your library load path.