如何下载在我的网站从其他Web服务器CSV文件? [英] How to download the CSV file in my website from other webserver?

查看:246
本文介绍了如何下载在我的网站从其他Web服务器CSV文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站,我需要通过编码来下载其他网络服务器CSV文件。

In my website I need to download a CSV file from other webserver through coding.

我该怎么办呢?

推荐答案

如果你想使用HTTP来获取文件中的 System.Net.WebRequest 类可能是你最好的选择。你或许可以做一个快速的谷歌搜索,找到一些教程。

If you want to use HTTP to get the file the System.Net.WebRequest class is probably your best bet. You can probably do a quick Google search on this to find some tutorials.

有关FTP看, System.Net.FtpWebRequest

这篇关于如何下载在我的网站从其他Web服务器CSV文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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