Click here to Skip to main content
15,896,606 members
Articles / Desktop Programming / Windows Forms

Simple Way to Develop Server Software for File Manipulation

Rate me:
Please Sign up or sign in to vote.
4.86/5 (16 votes)
15 Mar 2012CPOL10 min read 34.1K   923   43  
This is a simple server software for copying file from one directory to other but the technique can be used to develop in any server software.
//-----------------------------------------------------------------------
// <copyright file="IMasterServices.cs" company="Self">
//  Copyright (c) Md. Rashim Uddin . All rights reserved.
// </copyright>
// <author>Md. Rashim Uddin</author>
// <email>rashimiiuc@yahoo.com</email>
//-----------------------------------------------------------------------

namespace FileSystem.Replication.Server.Interfaces
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Linq;
    using System.Text;
    using FileSystem.Replication.Server.Entities;

    /// <summary>
    /// All Definition related to MasterServices
    /// </summary>
    public interface IMasterServices
    {
        /// <summary>
        /// Copies the file.
        /// </summary>
        /// <param name="submittedEntities">The submitted entities.</param>
        /// <returns>if Succed return true otherwise false</returns>
        bool CopyFile(MyFileSystemEntities submittedEntities);

        /// <summary>
        /// Copies the directory.
        /// </summary>
        /// <param name="submittedEntities">The submitted entities.</param>
        /// <param name="e">The <see cref="System.ComponentModel.DoWorkEventArgs"/> instance containing the event data.</param>
        /// <returns>if Succed return true otherwise false</returns>
        bool CopyDirectory(MyFileSystemEntities submittedEntities, DoWorkEventArgs e);
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Chief Technology Officer RightKnack Limited
Bangladesh Bangladesh
A big fan of getting down the latest cutting-edge technologies to the ground to innovate exceptionally amazing ideas.

My Blog: http://rashimuddin.wordpress.com/

My Email: rashimiiuc at yahoo dot com

Comments and Discussions