Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.8k views
in Java FTP by
please somebody help me to run the demo.java

i am trying it for 10days i suppose

i dont know where is i am wrong

i am getting some exception saying ...
Exception in thread main java.lang.NoClassDefFoundError: com/enterprisedt/net/ftp/FTPMessageListener

i am compiling using ....javac -classpath c:\edtftpj-1.4.7\lib\edtftpj.jar Demo.java
executing using ......java -classpath c:\edtftpj-1.4.7\lib\edtftpj.jar Demo


..............................

4 Answers

0 votes
by (162k points)
1. Unzip the distribution (like you've done it seems).
2. cd edtftpj-1.4.7\demo
3. demo host user pwd

You shouldn't need to change anything.

please somebody help me to run the demo.java

i am trying it for 10days i suppose

i dont know where is i am wrong

i am getting some exception saying ...
Exception in thread main java.lang.NoClassDefFoundError: com/enterprisedt/net/ftp/FTPMessageListener

i am compiling using ....javac -classpath c:\edtftpj-1.4.7\lib\edtftpj.jar Demo.java
executing using ......java -classpath c:\edtftpj-1.4.7\lib\edtftpj.jar Demo


..............................
0 votes
by
i need to connect to ftp://82.182.52.45:4000/

plz tell me how to set port address
0 votes
by (162k points)
Read the developer guide to learn a bit about FTP and the edtFTPj API, and look at the Javadoc.

The port is 4000.

i need to connect to ftp://82.182.52.45:4000/

plz tell me how to set port address
0 votes
by
thanks ...
i can set the port now

plz tell me how can i download the files to a specific directory on my system

i tried with.... ftp.get("C:\sdr2.xml","2005-03-07 21.26.xml");

its not working

Categories

...