Upload file created in last 12 hours to FTP

Advertisement

UGotit88
Joined:
Posts:
1
Location:
UK

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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum