I need to copy multiple files from a remote sftp server and afterwards move the files on the remote server to a different folder. When the job is finished I would like to receive an email as well. This is a scheduled process that only needs to run once a month but for each run I would like to have a separate log file. What is the best way? FTP, powershell or Javascript?
At the moment I'm using FTP in combination with mget, change folder, mput, change folder again and mdelete but that's not the most beautifull way to do so. How should I do this? Does anyone have a simple example?
I'm no scripting expert. Thanks in advance!