download a file with a webservice

J

Jan Tielens

Not exactly what you are looking for, but I guess you can use it.
http://www.dotnetextreme.com/code/ImageTimeWS.asp
In this article we shall take a look about returning a image from the
WebService. The WebService Generates a Image on the fly using the Graphics
capabilities of the .Net Framework Base Class Library , and returns either
the http path of the image or the bytes of the image. When using webmethod
ImagePath of the webservice the client simply sets his image control's image
path to this path. While the other webmethod ImageAsByte returns the byte []
the client has to specifically convert it to the image again to show it in
his image Control.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top