Get file from remote directory
Hi,
I have a script as follows:
exit
I am unable to get the file transferred over to local directory. I am wondering if it is due to how
I am able to connect and get the file over manually using the WinSCP application.
Help is appreciated. Thanks.
I have a script as follows:
open sftp://User:Password@IPAddress -hostkey="ssh-ed25519 255 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" get -resume /root/test.json C:\Users\admin\Documents\folder\ close
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.