Re: [Hypercontent-users] using SCP
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2004-09-24 23:53:22
|
Juris, You can try SCP in JSch, but after spending another day with it I have found that the SFTP implementation was very poor; much slower than j2ssh, especially the SFTP get command. I have made improvements, which I will submit back to the JCsh project, so that it is now perhaps 20% faster than j2ssh for both SFTP puts and gets. You will see in the updated JCshFileSystemImpl that I have a method "storeSCP" which was an attempt to use SCP for puts. It is much slower than the SFTP implementation, but perhaps you can look at that as a starting point for implementing with SCP. It was copied and pasted from the SCP code in Ant. I suspect we may not be able to achieve better performance with SCP and JCsh, because the principal performance benefit of SCP is supposedly that it runs on the SSH1 protocol, whereas JCsh only implements the slower SSH2. The jcsh jar and JCshFileSystemImpl are updated in CVS with the changes. If you were denied project access when you tried to change the classname, you should check the logs for an error; chances are the classname was not correctly spelled, or there was an instantiation error. Cheers, Alex On Sep 24, 2004, at 9:07 AM, sd...@la... wrote: > Hello, Alex! > > We've got an idea of using SCP protocol using Java Secure Channel(jsch) > distribution. That would work faster than SFTP in hyperContent1.4. > What do you > think of rewriting SFTPFileSystemImpl possibility to use SCP protocol? > > > Thanks, > Juris Treibahs > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |