I have a script as follows:
I am unable to get the file transferred over to local directory. I am wondering if it is due to how
/root/directory is to be specified.
I am able to connect and get the file over manually using the WinSCP application.
Help is appreciated. Thanks.