upload - SCP files to remote host in JAVA using JCraft's JSch API -


I am able to scrap a file on a remote machine on an existing folder using JSc API but in doing so The folder does not exist on the remote.

On each run I will need SCP files in the unique folder whose date format is.

Since remote does not exist in the folder .. I lived SCP file transfer failed .. if I make this folder was hoping he does not exist.

The SCP works in the existing folder, but I would like to use the SCP file in a newly created folder in JSch API.

Help appreciated .. !!

I have to create the necessary directories used remote box Jessac channel SFTP & amp; I was able to do this .. now I have the available directory on the remote server & amp; I should be able to file a SCP in that folder ..


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

java - Algorithm negotiation fail SSH in Jenkins -