开发者

.Net - How to write a Stream to a file in specified location

I am trying to download a zip file from an FTP location to a directory in the server harddisk.

I am getting the zip file as a ReponseStream from the FTP location.

How can i write this z开发者_运维知识库ip file to a specified directory. I can't say what the size of this file will be.

Thanks in advance.


Can you just use WebClient.DownloadFile("remote file", "local file")? It's so much simpler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜