通常我们需要先下载->然后本地编辑->最后上传覆盖旧文件这样的操作对于不懂计算机的人来说太复杂了如果可以先打开(当然,实际上是下载到了本地)-编辑(实际上是本地编辑)-保存(保存到远程路径,关键就是这里),那就简单多了

解决方案 »

  1.   

    可以这样啊。
    以前做的是
    服务器上的text文件的修改
    读写都是服务器上作的,不用下载的
      

  2.   

    用WebService啊,哈哈,服务器实现IO啊.
      

  3.   

    如果是局域网上可以通过wmi来实现,
    先使用Wmi开通连接,再Copy文件using System;
    using System.Management;// This example demonstrates how to connect to remote machine
    // using supplied credentials.
    class Sample_ConnectionOptions
    {
        public static int Main(string[] args) {
            ConnectionOptions options = new ConnectionOptions();
            options.Username = UserName; //could be in domain\user format
            options.Password = SecurelyStoredPassword;
            ManagementScope scope = new ManagementScope(
                "\\\\servername\\root\\cimv2",
                options);
            try {
                scope.Connect();
                ManagementObject disk = new ManagementObject(
                    scope,
                    new ManagementPath("Win32_logicaldisk='c:'"),
                    null);
                disk.Get();
            }
            catch (Exception e) {
                Console.WriteLine("Failed to connect: " + e.Message);
            }
            return 0;
        }
    }