Jump to content

How to use External Command Pallete in downloading/uploading server files to local


Recommended Posts

I am working on a project wherein I need to download/upload server files to local. Since the server is not FTP server, I will be using cmd to ssh/scp. When I tried manually in cmd, I can download files using this commandscp user@server:/home/test.txt C:Users.However, this will require to enter the password manually. I also tried using SSHPASSsshpass -p 'password' scp user@server:/home/test.txt C:Users but it is not recognized in my computer.

How can I add this in external command pallete in designer Is there a way I can download/upload files to unix server without using FTP or java scripts

Link to comment
Share on other sites

One possible solution would be to use the SFTP Plugin. You shoud check to see if you have licences for this.

 

Apart from that have you been able to call a basic external command (like for example 'DIR' or 'COPY') from BW 6.X

I think it might be tricky but you should be able to invoke a command and provide it with an input.

 

See the documentation at the following URL :

https://docs.tibco.com/pub/activematrix_businessworks/6.8.0/doc/html/Def...

 

Keep us updated, I might be able to find an example if needed

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...