Already i posted my earlier question about my FTP process (simple and short ),it will check the ftp server directory and match the files and download it,am trying to do the same thing using file share but little bit more logical way.
Scenairo like this ,my db tell my file name (e.g text.exe) and the location (Detroit) based on the location (i have config file ,eg Detroit Value ://10.26.10.127/testfolder, Washington Value://10.26.10.127/testfolder).
then i will copy text.exe from (//10.26.10.127/testfolder) to my local drive.
Step 1:Get the file list from FileShare
Step 2:store the filename in the stringbuilder
step 3:use the condition (contains) to match the file name
Step 4: Copy from fileshare location to local location.
Please someone advise me where to start ?
This is one way of doing it starting from the data.
Hope this helps.