How to download file from Web Services?

G

Guest

For example, there is a text file myText.txt in the web server with path
/myData/

How to write the service and the window form client?

Thanks

David
 
G

Guest

Hi,

You can read the content of the file from the web method and pass the
content as text as an output of the method. SO, the client can get the
content from the return value and create a file with the content.
 
G

Guest

Thanks.
How about the binary files?

David

Saravanan K V said:
Hi,

You can read the content of the file from the web method and pass the
content as text as an output of the method. SO, the client can get the
content from the return value and create a file with the content.
 
G

Guest

Hi, Saravanan K V:

Do you know where I could find a free tutorial about the file doaload and
upload through the web Services?

Thank you again.

David
 

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

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top