Upload file created in last 12 hours to FTP
Hi,
I'm looking for a script to run in PowerShell that will find any file created
in the last 12 hours in a folder that is also .txt - and upload these to an FTP host.
I've seen
https://winscp.net/eng/docs/script_download_most_recent_file
and
https://winscp.net/eng/docs/script_upload_most_recent_file
But I'm just a novice, so will need ideas for the full script.
Thanks in advance.
I'm looking for a script to run in PowerShell that will find any file created
in the last 12 hours in a folder that is also .txt - and upload these to an FTP host.
I've seen
https://winscp.net/eng/docs/script_download_most_recent_file
and
https://winscp.net/eng/docs/script_upload_most_recent_file
But I'm just a novice, so will need ideas for the full script.
Thanks in advance.