Help building script
First timer here, needing help building an automated script to FTP files.
I need to use SFTP
The FTP server is called: jobvacancies.ftp.businesslink.gov.uk
My Username is: RichardC
My Password is: Test123
My remote directory is: /inbound
My Local directory is: /JCPExtract
I need to move all files with a *.xml to the remote directory and delete them from the local directory.
I then need to move any *_out.xml files from the remote server to the local directory and remove from the remote.
I can use WINSCP from a command prompt manually and get it working, but I cannot script this. Please help.
I need to use SFTP
The FTP server is called: jobvacancies.ftp.businesslink.gov.uk
My Username is: RichardC
My Password is: Test123
My remote directory is: /inbound
My Local directory is: /JCPExtract
I need to move all files with a *.xml to the remote directory and delete them from the local directory.
I then need to move any *_out.xml files from the remote server to the local directory and remove from the remote.
I can use WINSCP from a command prompt manually and get it working, but I cannot script this. Please help.