aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Help on SFTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Help on SFTP" Watch "Help on SFTP" New topic
Author

Help on SFTP

karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 115

Hi ,
I have a requirement where i need to copy files from my local machine and upload in SFTP location . I have browsed a lot and found some API's like
SFTPClient , VFS classes , Jsch , Jscape , etc... i am unable to understand how exactly it is being implemented and i couldn't find much explaining examples. Could anyone share some quick code . Thanks


"Learning is a Culture where your Eagerness & Curiosity plays a major Role".
karthik Suryanarayanan
Ranch Hand

Joined: Oct 07, 2009
Posts: 115

Hi Guys,
I have found out a way to achieve it through Jsch.. It's a good package which gives easier classes with some simple methods . Anyone needs help , let me know.. Thanks...
T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

Using JSCH - file upload, file download


Thanks,
Tushar (SCJP 1.5)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help on SFTP