Sir,
I am in a ADO.NET Project to find existing pdf file in a directory and move into a new path. I have done almost code but stuck in a code to filter files that have extension of .pdf.
Please provide me the code to filter only pdf files
Here the c# code I wrote:-
In this code I wrote a existing file name in order to test.


ketan borsdiyaRank #2,258 · 624 reputationPosted Jul 6, 2016, 11:26 PM EDT
Bineesh ViswanathRank #1,680 · 907 reputationPosted Jul 7, 2016, 12:18 AM EDT
string Destination = System.IO.Path.Combine(FtpDestinationFile, PdfFilename);
Vinay SinghRank #604 · 4K reputationPosted Jul 7, 2016, 12:20 AM EDT
Search File Exist or Present in Directory Windows Application Using C#.Net