Danny Coopers

Greenhorn
+ Follow
since Sep 03, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Danny Coopers

Hi, I have downloaded the commons-net-1.4.0.jar archive as I need to be able to ftp to a remote host from within my java program. However upon trying to compile my source code I get the error message :

C:\FTPTesting\getDataFiles.java:1: package org.apache.commons.net.ftp does not exist
import org.apache.commons.net.ftp.*;

I presume this is related to me not setting the classpath correctly but I have little understanding of how this should be set and what exactly it does.

My specific questions are then.

1> Where do I copy the commons-net-1.4.0.jar file to on my C: drive, is there a specific loction where it needs to be ?.

2> My source code is in the Directory C:\FTPTesting and I am compling it from this directory also, how do i set the classpath so that it can always find the commons-net-1.4.0 library and what command do i use to set it up ?

Thanks

Danny
19 years ago
thanks will take a look
19 years ago
Hi, I wish to generate a SNMP trap event and send it to a Network Management Station from a NT server when a specific event is detected by the server. This has to be done from within a java program as it is the jave program that detects the event. Can anybody advise me if this is firstly possible and also how i should go about it.

Thanks for any replys

Danny
19 years ago