473,388 Members | 1,215 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to download file from Web Services?

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
Nov 19 '05 #1
3 1173
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.

--
Saravanan K V
"david" wrote:
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

Nov 19 '05 #2
Thanks.
How about the binary files?

David

"Saravanan K V" wrote:
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.

--
Saravanan K V
"david" wrote:
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

Nov 19 '05 #3
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

"Saravanan K V" wrote:
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.

--
Saravanan K V
"david" wrote:
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

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mahesh D. Rane | last post by:
Hi, I am facing problem while downloading a file in web services. My Donwload Code in Web services : WebClient objClient = new WebClient();...
3
by: Gary O'Malley | last post by:
Everytime I download a file from the web I get a nice animated dialogue box that shows the size of the file, how much has been received and the approximate remaining time. It also gives the...
3
by: John Spiegel | last post by:
Hi all, I'm trying to do something simple here...just provide a link from which a user can download a file. I'm using Server.MapPath() in my codebehind to find out physically where the file is...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
1
by: apondu | last post by:
Hi, I am new to web services and i am facing a problem. I am interested in downloading some file from internet and use it for furthur processing For eg. i have a file at a the following URL and...
0
by: apondu | last post by:
Hi, I am new to web services and i am facing a problem. I am interested in downloading some file from internet and use it for furthur processing For eg. i have a file at a the following URL and...
4
by: Rootworker | last post by:
I have two simple web services, as shown below. One returns the file size of a test file, and the second the file itself. I can successfully recover the file size using the following code:\ ...
2
by: whoswho | last post by:
Good day All, When I export on a workstation from reporting services to excel the download window closes without the file being created. The file is not big only 4mb. When I export on the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.