• Post Reply Bookmark Topic Watch Topic
  • New Topic

SFTP  RSS feed

 
david foley
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,
I am doing a mini project, I would like to know what the best way to go about having a Ubuntu Server running LAMP
and creating a Java application that would Test the Availability of my SFTP file Server, if its up do nothing but if its down send an email or an error message.
my SFTP Server is within Ubuntu i am new into the world of Spring and Hibernate Frameworks.

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would use a Java SFTP client (like JSch) to try to connect to the server. If the server is generally available (in the network sense); but the SFTP server does not respond, then send the email.
 
david foley
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool, is their any good video tutorial for JSch ? or any training material
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the "How to try" section on the JSch home page.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!