HI Team,
SFTP :
If we make a connection via SFTP we get exception below
java.sql.SQLException: For SFTP support, you should download http://www.hxtt.com/test/jsch.jar package.
Whereas,
SMB :
If we make a connection via SFTP we get exception below
java.sql.SQLException: For SAMBA support, you should download http://www.hxtt.com/test/jcifs.jar package.
So it is pretty straight forward that we will need these two jars to make a connection.
I have few queries regarding jars :
1. Does these jar will cost us and do we need to buy licence for them cause I could see that jars are owned by Jcraft and jCIFS ?
2. Does the Current jars are updated one ? As in Manifest file we are not able to see version of jars.
3. Is there any way to skip these jars and still make a connection via SFTP and SMB ?
Regards,
Suraj
|
>SFTP
Need SSL protocol
>SAMBA
Need SAMBA protocol
>1. Does these jar will cost us and do we need to buy licence for them cause
> I could see that jars are owned by Jcraft and jCIFS ?
Needn't. There're open source and free. In my memory, HXTT modified some code of jsch.jar for older JDK version, and released those modified code in jar file according to open soruce rule.
>2. Does the Current jars are updated one ? As in Manifest file we are not able
> to see version of jars.
For HXTT driver, manifest file show the version. For jsch.jar and jcifs.jar , a stable version is enough since SSL and SAMBA protocol is stable.
>3. Is there any way to skip these jars and still make a connection via SFTP
>and SMB ?
We can reinvent the wheel, but it's unnecessary since there's no limitation.
|