从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[^]