Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Posts
    30
    Rep Power
    0

    Question Java Download from SFTP

    Hey! Im looking for a way to download a file from an SFTP server to the local computer. I've found a lot of Libraries and stuff but I can't get one to work in Eclipse. Basically I want something along the lines of

    sftp.connect(username, password);
    sftp.getfile("filepath in server", "filepath to download it to");

    Now I know it won't be that simple, but you get the point. Can someone please help me find a library or something and get it working in Eclipse so that I can do something along those lines?

    Thanks in advance!!!

  2. #2
    goldest's Avatar
    goldest is offline Senior Member
    Join Date
    Oct 2009
    Location
    Pune, India
    Posts
    469
    Rep Power
    6

    Wink

    This link might be useful to give you some idea: Java SFTP

    Goldest
    Java Is A Funny Language... Really!
    Click on * and add to member reputation, if you find their advices/solutions effective.

  3. #3
    Join Date
    Jan 2011
    Posts
    30
    Rep Power
    0

    Smile

    Thnks for the reply. I ended up getting sshtools to work for me. If anyone needs to know the eclipse setup for it, u just download it, then put the folder somewhere, then go to eclipse and add external jars and add ALL of the included jars

  4. #4
    goldest's Avatar
    goldest is offline Senior Member
    Join Date
    Oct 2009
    Location
    Pune, India
    Posts
    469
    Rep Power
    6

    Wink

    Quote Originally Posted by hardcorebadger View Post
    Thnks for the reply. I ended up getting sshtools to work for me. If anyone needs to know the eclipse setup for it, u just download it, then put the folder somewhere, then go to eclipse and add external jars and add ALL of the included jars
    Good to know that you solved it on your own.

    Best Luck,

    Goldest
    Java Is A Funny Language... Really!
    Click on * and add to member reputation, if you find their advices/solutions effective.

Similar Threads

  1. open source ftp sftp java library
    By nebyan in forum Java Software
    Replies: 3
    Last Post: 07-22-2010, 01:45 PM
  2. sftp Authentication
    By suprimcy in forum New To Java
    Replies: 2
    Last Post: 06-01-2010, 01:49 AM
  3. SFTP applet (SSH FTP)
    By jfileupload in forum Java Software
    Replies: 1
    Last Post: 02-26-2009, 11:31 PM
  4. SFTP Plug-in for Eclipse 0.0.3
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-03-2007, 09:04 AM
  5. Rad SFTP Applet 2.01
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-22-2007, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •