原理:
上傳圖檔的名字 插入到資料庫裡
上傳圖檔的内容(二進制資料) 寫到伺服器指定的目錄下
下次讀取圖檔的時候 從資料庫裡的指定字段裡讀取圖檔檔案名 從資料庫的指定路徑下 拼串成完成的路徑 就可以下載下傳了
未完待續
相關連結
WCF REST 工作總結(二)http://www.cnblogs.com/wlflovenet/archive/2011/10/28/wcfrest2.html
WebService檔案上傳,下載下傳 http://www.cnblogs.com/flex/archive/2011/01/27/1945969.html
Asp.net:通過Web Services上傳和下載下傳檔案http://www.cnblogs.com/lyric520/archive/2012/04/10/2440169.html
利用WebService實作遠端伺服器檔案的上傳和下載下傳http://www.cnblogs.com/lazyman/articles/1583153.html
ASP.NET使用Web Service上傳檔案http://developer.51cto.com/art/200907/139655.htm
WCF上傳檔案方法總結http://blog.csdn.net/w514213089/article/details/8878310
WCF 學習總結7 -- 流模式(Streaming)實作檔案上傳
在WinForm中利用WebService上傳圖檔到伺服器 http://www.lmwlove.com/ac/ID773
朋友們,winform如何上傳圖檔到伺服器 http://social.msdn.microsoft.com/Forums/zh-CN/9a956474-8aed-4fc3-b552-d8058880a765/winform
http://bbs.csdn.net/topics/390358271?page=1#post-394006104
http://blog.csdn.net/zdw_wym/article/details/6716887