FileName info - WeOnlyDo Discussion board

FileName info (General questions)

by ActiveGreg, Monday, February 15, 2010, 19:52 (5394 days ago)

Is there any way to have the images of a webpage response download to the client system as well as the text info?

Can I set a parameter that tells the control where to download images?

Re: FileName info

by woddrazen, Monday, February 15, 2010, 20:02 (5394 days ago) @ ActiveGreg

Hi Greg,


You can save response you are receiving from server using HttpResponse object Filename Property. Inside Filename Property you can specify where you want to save server response.

Please make sure that you add Filename Property in your code before you make request using Get Method.

More help for Filename Property you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpResponse~Filename.html

Let us know how it goes.


Regards,
Drazen

Re: FileName info

by ActiveGreg, Monday, February 15, 2010, 23:08 (5394 days ago) @ woddrazen

I don't think the images download. How do I get that to happen?

Hi Greg,


You can save response you are receiving from server using HttpResponse object Filename Property. Inside Filename Property you can specify where you want to save server response.

Please make sure that you add Filename Property in your code before you make request using Get Method.

More help for Filename Property you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpResponse~Filename.html

Let us know how it goes.


Regards,
Drazen

Re: FileName info

by woddrazen, Monday, February 15, 2010, 23:34 (5394 days ago) @ ActiveGreg

Greg,


If you want to download image you should make new request and download it.

Something like this:
[code]http1.Response.FileName = c:\weonlydo_banner.jpg
http1.Get http://www.weonlydo.com/Images/weonlydo_banner.jpg [/code]

Drazen