The jar file is from jscape, it provides SSH/FTP.  I've copied it now, into 
the WEB-INF\lib\ directory. The docs show an example use like this:

import com.jscape.inet.ssh.util.*;
import com.jscape.inet.sftp.*;

// create a new SshParameters instance with authentication info
SshParameters sshParams(hostanme,username,password);

// create a new Sftp instance
Sftp sftp = new Sftp(sshParams);

// establish a connection
sftp.connect();

How would this translate to using CFOBJECT in CFMX?

Brookd


At 02:33 PM 1/20/2006, you wrote:
>Not exactly sure... but maybe copy it into cfusionmx\wwwroot\lib?
>
> > -----Original Message-----
> > From: blists [mailto:[EMAIL PROTECTED]
> > Sent: Friday, January 20, 2006 5:27 PM
> > To: CF-Talk
> > Subject: Using a .jar file
> >
> > I have a .jar file that I want to use with CFMX 6.1. I copied it into the
> > cfusionmx\lib directory and restart the service and try:
> >
> > <cfobject action="create"  type="java" class="sftp" name="sftp">
> >
> > And I get an error that the class can not be found. What did I miss?
> >
> > Brookd
> >
> >
> >
> >
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230157
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to