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.
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.
Log in to post a comment.