如何使用网络服务上传文件或图像? [英] How to upload a file or Image using webservice...?
本文介绍了如何使用网络服务上传文件或图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好...
使用文件上传控件和Web服务将文件上传到服务器时遇到问题.
我有注册表格,其中包含用户图像以及.doc或.pdf文件,现在我必须使用网络服务将该文件上传到服务器端目录.
Hello all...
I have problem while uploading a file to server using file upload control and webservice.
i have registration form contains user image and also .doc or .pdf file, now i have to upload that file to the server side directory using a webservice.
推荐答案
检查该线程:
使用c#将图像上传到Web服务 [ ^ ]
Check this thread:
upload image to web service using c#[^]
如果您使用的是.Net 2.0,则需要使用 ^ ]和MTOM
.
IF you are using .Net 2.0, you will need to use Web Service Extensions[^] and MTOM
.
这篇关于如何使用网络服务上传文件或图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文