Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Dear All
Please Tell me anyone How to write a code for copy files from one server system to another server system using Windows Service using C# .

Regards
Bharath

What I have tried:

I'm write a code for copy files from one server system to another server system using Windows Service using C# .
Posted
Updated 19-May-16 23:26pm

1 solution

The service will need access to the 2 file systems.
Use a FileSystemWatcher or a timed event to check for new files in the source folder - use a UNC path not a mapped folder.
Copy the source file to the destination folder.
 
Share this answer
 
Comments
Garth J Lancaster 21-Mar-16 3:38am    
'5' :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900