从服务器下载Zip文件 [英] Download Zip file from server

查看:279
本文介绍了从服务器下载Zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是C#的新手..如果我们想从远程服务器下载文件并将其复制到我的本地文件夹,请帮助我。



假设我有一个服务器abcdefghhjhjk和用户名-test和密码-test

i希望连接到这个服务器并获得文件存在在带有zip扩展名的C:\文件夹中,将其复制到我的本地文件夹。



请帮我解决它的紧急情况。



Thansk提前

问候,

Nirmala.Gudur

Hi,

I am new to C# ..please help me if we want to download the files from the remote server and copy it to my Local folder.

Suppose i ahve a server abcdefghhjhjk and username -test and password -test
i want to connect to this server and and get the files present in C:\ folder with the zip extension and copy it to my Local folder.

Please help me out its urgent.

Thansk in advance
Regards,
Nirmala.Gudur

推荐答案

您好,



请检查以下链接:(他们下载.zip文件并从服务器URL中提取)



Link1 [ ^ ]



或:



使用C#下载文件 [ ^ ]
Hello ,

Please check this link :(they download a .zip file and extract it from server URL)

Link1[^]

or :

Download File Using C#[^]






但我正在从网址下载...我想得到\\abcdefgh \ foldername中的zip文件

在上面提到的文件夹中,我想获取zip文件并将其复制到我的本地...



请帮我解决这个问题..



非常感谢
Hi,

but the i am downloading from the url ...i want to get the zip file which is present in \\abcdefgh\foldername
In this mentioned above folder i want get the zip file and copy it to my local ...

Please help me on this ..

Thanks a ton


这篇关于从服务器下载Zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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