Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am working on a project which allow windows service to upload and download log files to a FTP server into a directory, The Service has been working well but I experience a slow connection in recent time due to the huge number of logs since 2013.I want to create another service to start deleting some of those files base on their date, but I am thinking if this is the right idea
getting the two services speaking to the same FTP Path. Can anyone help me?

What I have tried:

I have tried running Multiples Services to do this, but the not sure this could work without breaking.
Posted
Updated 25-Apr-16 9:32am
v2
Comments
F-ES Sitecore 25-Apr-16 11:20am    
It's a good idea, a lot of logging systems delete logs over a given date.
Dave Kreskowiak 25-Apr-16 15:34pm    
Why are you creating a service to do the clean up? Just write a normal Console application that you setup in Windows Task Scheduler that runs the job once a day.
Sinisa Hajnal 26-Apr-16 9:54am    
Not really a job for a service. If you really want it into the service, why not add the functionality into the original service?

There should be no problem running several services on the same folder as long as they don't access same files at the same time.

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