I have written code which connects and get the files from it .
I want to know how to retrieve only .txt files from that folder and that too latest one .
To get the lastwrite time but it always returs name with "." I have txt files which I want mainly not all .. Is thr any property in the RemoteFileInfo which can help ?