If I want to enter the root folder of the ftp server what should I write in remotePath?
Login with GUI, browse to the "root" folder and check what path do you see in WinSCP panel. It would typically be
Also, i used directoryInfo.Files.OrderBy to order by time, is there a way to filter the files like only retrieve the *.bmp files?
Or you can use
Session.ListDirectory. It supports filtering file by file mask.
Both approaches are covered in my answer to: