在远程位置复制文件 [英] copy a file on remote location

查看:72
本文介绍了在远程位置复制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在尝试在C#.Net中创建一个基于Win的应用程序,它将从文件系统复制远程位置(ftp服务器)上的文本文件.
但是我不知道怎么做.显然,我需要对远程服务器进行身份验证.但是不知道如何对该远程位置进行身份验证并在该位置复制文件.

如果有人知道有什么可以帮助我的,请回答.

解决方案

如果使用c#搜寻ftp,则对ftp有很多帮助.这是一些链接

使用C#.Net 2.0的简单FTP演示应用程序 [ http://www.c-sharpcorner.com/uploadfile/neo_matrix/simpleftp01172007082222am/simpleftp.aspx [ ^ ]


hi I am trying to create a win based application in C#.Net which will copy a text file on the remote location (ftp server) from my file system.
But I am not able to figure out how. It is obvious that I would need to do the authentication to the remote server . But Dont know how to do the authentication to that remote location and copy a file over there.

If anyone knows anything which will help me please reply.

解决方案

There is lot of help on ftp if googled ftp using c#. here are some links

Simple FTP demo application using C#.Net 2.0[^]


http://www.c-sharpcorner.com/uploadfile/neo_matrix/simpleftp01172007082222am/simpleftp.aspx[^]


这篇关于在远程位置复制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆