Re: Remove all files in all Sub Folders named *.trn older than 7 days
This is not easy. You better use WinSCP .NET assembly from e.g. a PowerShell script.
Use
https://winscp.net/eng/docs/library_session_enumerateremotefiles
https://winscp.net/eng/docs/library_session_removefile
Use
Session.EnumerateRemoteFiles
to find the files you need and then call Session.RemoveFile
for each identified file.
https://winscp.net/eng/docs/library_session_enumerateremotefiles
https://winscp.net/eng/docs/library_session_removefile