Anyone please help me out, trying to delete 7 days older files from WinSCP server in UiPath

Anyone please help me out, trying to delete 7 days older files from WinSCP server in UiPath.

Anyone please help me out, trying to delete 7 days older files from WinSCP server in UiPath.

@Kanu_Priya_Munja ,

Use below approach.

  1. Install package UiPath.FTP.Activities
  2. Use activity FTP Scope and configure it as per your server.
  3. Use Enumerate Objects to get all the file in the directory. Activities - Enumerate Objects (uipath.com)
  4. Loop through output property Files variable
  5. Check the file date if it’s older than 7 days then use Delete activity to delete the file

Thanks,
Ashok :slight_smile: