从ftp下载数据库 [英] Downloading the database from ftp

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

问题描述

我们可以在不使用密码和用户名的情况下通过C#通过http webrequest从ftp下载数据库吗?

Can we download the database from ftp through http webrequest in C# without using password and username?

推荐答案

什么数据库?

FTP和HTTP是两种不同的协议.

如果需要用户名和密码来访问资源,那么必须提供它们,那么C#并不是万能的通行证.
What database?

FTP and HTTP are two different protocols.

If a username and password are required to access a resource then they must be provided, C# is not a magic all access pass.


哪个数据库? SQL,Access等

如果它是基于简单文件的数据库,例如mdb或sdf,然后提供文件夹权限以允许匿名FTP访问,然后是.
Which database? SQL, Access, etc.

If it is a simple file based database e.g. mdb or sdf, then providing the folder permissions allow anonymous FTP access then yes.


您是否已问过这个问题并已得到答案?

http://www.codeproject.com/Questions/80692/How-to-download-a-file-using-HttpWebRequest-from-f.aspx [
Haven''t you asked this and gotten an answer already?

http://www.codeproject.com/Questions/80692/How-to-download-a-file-using-HttpWebRequest-from-f.aspx[^]


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

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