Copy files from one folder to another folder using C# Windows Services

  • Thread starter Thread starter Syam Maddi
  • Start date Start date
S

Syam Maddi

Guest
HI,

I want to create one winidows services using C#.

The Basic functionality should i want in the windows services is as follows.

1. Admin people will copy the files(xml files) into one specific folder.

2. windows Services has to keep pooling /watching the above file directory if any files were exists. if any files are exists, windows services will copy one by one file to another folder. After copying one file(xml file), windows services will create one text file and writes into the text file as some text (eg: "copyed").

3. My application Server(BizTalk) will take the file and process to orchestration. after finishing orchestration, biztalk will modify the above text file data as 'processed'.

4. again windows services copy another file , if the text file data as 'processed'. and updates text file as 'copyed'

5. steps 2,3,4 keeps working until all the files are copied.

Pls help how to achieve the above processs using windows services(c#) and provide me some related link OR code to write in windows services appln.

Regards,

Syam M

Continue reading...
 
Back
Top