How can I create a windows service that listens to a directory and then sftp's it to a local directory
I'm looking for a starting point and I know my solution has to incorporate MSMQ as part of it.
I have a server that users drop a file into a directory. I have a client that listens to the directory and when something is dropped into that direc开发者_Go百科tory the client SFTP's it to a local directory.
Can some one give me a starting point of what technologies I may need to implement this?
A previous developer used Top Shelf and Mass Transit but we have been asked to create our own version as we won't need all the functionality that is available in these two projects. That and also those two open source projects haven't been to reliable.
Thanks.
I think looking at System.IO.FileSystemWatcher
will be good starting point if you are planning to implement in .net
精彩评论