Sftp exception: file not found

Help
Kelly
2009-04-03
2013-05-28
  • Kelly

    Kelly - 2009-04-03

    Hi,

    I have a java program using the jsch.jar.  The program creates a file and stores it on the c drive.  C:\output\FileToUploade

    Then I connect to the ftp site.  Which works. The connection and channel open, but when it is time to upload the Sftp throughs a file not found error.

    The file is there and the user running the program has admin rights.  Any ideas why the jsch.jar can not find the file?

    thank you for any help.

     
  • Jeevan

    Jeevan - 2010-08-06

    Hi,

    I'm new to JSch.

    You said "Then I connect to the ftp site.  Which works. The connection and channel open":

    Can you please let me know the steps and if possible send me the actual code you use to establish connection with ftp server. I don't know what I'm missing in my code - spending a lot of time here in digging.

    Thanks

     

Log in to post a comment.