I'm new to server/Unix trying to transfer file between AIX to Windows
I'm trying to create SCP or SFTP script that will run on cron and transfer text file on
/usr/apps/220.127.116.11.log file to window folder
D:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\myapp.
I have made secure connection with freeSSHd via PKI authentication method.
So far i have tried:
scp /usr/apps/18.104.22.168.log servername@IP:/ <- i left is as / because when I ssh into window server, i set it up so that server root folder is D:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\myapp sftp servername@IP /usr/apps/22.214.171.124.log
non of these worked...What did I do wrong? As far as I know there are correct syntax.