简体   繁体   English

通过我本地计算机上的 .NET Windows 应用程序将文件从一台服务器复制到另一台服务器

[英]Copying files from one server to another through a .NET Windows application on my local machine

I have a Windows application built in C#, .NET 3.5.我在 C#、.NET 3.5 中有一个 Windows 应用程序。 One of its functionalities is to copy files from ServerA to ServerB.它的功能之一是将文件从 ServerA 复制到 ServerB。 The application will be run on a client machine, ClientX.该应用程序将在客户端计算机 ClientX 上运行。

What is the most efficient command/way to do this in C# so that the files are not temporarily buffered in the ClientX machine by the application?在 C# 中执行此操作的最有效命令/方法是什么,以便应用程序不会在 ClientX 机器中临时缓冲文件?

So the flow of the files should look like:所以文件流应该是这样的:

ServerA ----> ServerB

and NOT like:不喜欢:

ServerA ----> ClientX (temporarily buffered internally by .NET) ----> ServerB

One possibility would be to use the File eXchange Protocol which uses FTP to do a direct transfer from one server to another without the file ever visiting the client.一种可能性是使用文件交换协议,该协议使用 FTP 从一台服务器直接传输到另一台服务器,而无需文件访问客户端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 托管在另一台计算机上的Web应用程序可以在不将数据发送到服务器的情况下从本地.NET应用程序接收数据吗? - Can a web application hosted on another machine receive data from a local .NET application without sending data to the server? 使用本地计算机上的IIS8在Windows Server 2012上托管Asp.Net MVC 4应用程序 - Hosting an Asp.Net MVC 4 application on windows server 2012 with IIS8 from a Local Machine 从Asp.NET将行复制到SQL Server中的另一行 - Copying row to another one in SQL Server from Asp.NET Windows身份验证在一台本地计算机上运行,​​但不在另一台本地计算机上 - Windows Authentication working on one local machine but not another 将本地数据库从一台计算机复制到另一台计算机 - Copying a local database from one computer to another C#将文件从本地计算机复制到远程共享失败 - C# Copying files from local machine to remote share failed 如何对ASP.NET应用程序中另一台计算机上的本地Windows用户进行身份验证? - How would I authenticate against a local windows user on another machine in an ASP.NET application? 将多个文件从一个存储桶复制到另一个存储桶 - Copying multiple files from one bucket to another 将文件从一个项目复制到另一个项目时出错 - Error copying files from one project to another 将表从一个SQL Server复制到另一个 - Copying table from one SQL Server to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM