I’m trying to get a specific listing of files within a FTP session with the ultimate goal of downloading the newest file.
How can I incorporate a Directory.GetFile within the FTP Enumerate Objects activity? Or is there a different way to accomplish this goal?
The default output variable is System.Collections.Generic.IEnumerable<UIPath.FTP.Ftpobjectinfo>. When I use the directory.getfiles, I get an error that UI Path could not find part of the path. In my variable I use “/testing/rpa” for the FTP path and in the activity it is changed to “c:\testing\rpa”
Thanks in advance,