I have a tool which takes the data from the microscope. A user can do some edit work in the file and can save the file anywhere in the system at the place of his choice. Now, I want the file to be transferred automatically to the desired location. To do this the system should find the recently saved file with particular extension and transfer it to the data store. Can anybody help what are the ways to do it...? Any help would be greatly appreciated.

I have a tool which takes the data from the microscope. A user can do some edit work in the file and can save the file anywhere in the system at the place of his choice.

Use System.IO.Directory class methods to search a file.

Now, I want the file to be transferred automatically to the desired location.

Classes from System.net allows you to transfer files remotely.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.