473,804 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

saving xml file to client machine

Hi,
Here is the scenario.

I have a web application written in vb.net. One of the functionalities
of the application is to save the recordset in an xml format on to the
client machine. The xml file needs to be saved on the client machine
for the offline application to work. when the user works on the offline
module the data in the saved xml file gets updated. The data from the
updated xml file needs to be written back to the main database server.

Now the question is : which is the best way of saving the xml file on
the client machine and dumping the same xml file back on to the web
server.

Thanks,
Hari

Aug 17 '06 #1
1 2366
You cannot save files on to the client and upload them back silently.

Save the recordset to XML file on the server side and push it to the client
(download prompt). Ask the user to save the XML file locally and use for
offline purposes. After the update, ask him to upload the XML file back to
the site.

<ha*********@gm ail.comwrote in message
news:11******** **************@ m79g2000cwm.goo glegroups.com.. .
Hi,
Here is the scenario.

I have a web application written in vb.net. One of the functionalities
of the application is to save the recordset in an xml format on to the
client machine. The xml file needs to be saved on the client machine
for the offline application to work. when the user works on the offline
module the data in the saved xml file gets updated. The data from the
updated xml file needs to be written back to the main database server.

Now the question is : which is the best way of saving the xml file on
the client machine and dumping the same xml file back on to the web
server.

Thanks,
Hari

Aug 17 '06 #2

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

Similar topics

3
12381
by: Vikram | last post by:
Hi, Given below is my task. An user can open the xls file from my website (loaded on the top frame). After filling the Excel, he can click a send button at the bottom frame. By clicking the button i have to save the file in a shared directory on the web server by a unique name. Is it possible ?
4
4548
by: Victor Engmark | last post by:
Background: People want to be able to record large amounts of product data ("a few MB") on laptop or tablet PCs without _any_ kind of network connection, and then to submit the data to a database in the office come the end of the day. The installed base of the machines is controllable, but should include familiar concepts and structures, and it should be easy to deploy on many computers. The solution will be used for approximately two...
3
9499
by: C | last post by:
Re: Microsoft Knowledge Base Article - 870669 How to disable the ADODB.Stream object from Internet Explorer You may recently have heard of the vulnarability exposed by Internet Explorer as described in that article: "An ADO stream object contains methods for reading and writing binary files and text files. When an ADO stream object is combined with known security vulnerabilities in Internet Explorer, a Web site could execute scripts...
4
1145
by: James | last post by:
I have a text string containing XML data that I'd like to save on the client machine, in local text file. I need to prompt the user for the location of the file, so that the user may save different XML strings in different files. How do I provide a file-save dialog box, similar to the one a user is getting when downloading a file? Please keep in mind that I'm talking about data that is located at the client, this data is never at the...
4
1322
by: chris blackbur | last post by:
I have a textbox on a asp.net webform and I want to save the contents to a file on the clients machine instead of on the web server. Is there a way to do this just using ASP.NET or do I need to start learning some javascript. Thanks, Chris Blackburn *** Sent via Developersdex http://www.developersdex.com ***
3
3624
by: JamesB | last post by:
I am saving image files from my website using the downloaddata on the web client. This gives me a byte array, which I am then saving to a file with the following code: ' Create the new, empty data file. If File.Exists(ImgDest) Then Console.WriteLine("{0} already exists!", ImgDest) Return End If Dim fs As New FileStream(ImgDest, FileMode.CreateNew)
9
2417
by: CGW | last post by:
I asked the question yesterday, but know better how to ask it, today: I'm trying to use the File.Copy method to copy a file from a client to server (.Net web app under IIS ). It looks to me that when I give a path like @"C:\holdfiles\myfile.txt" it looks on the server C drive. How do I pull from the client? Do I need a different class and/or method? Filestream? -- Thanks,
4
6726
by: Pedro Leite | last post by:
Good Afternoon. the code below is properly retreiving binary data from a database and saving it. but instead of saving at client machine is saving at the server machine. what is wrong with my code ?? thank you Pedro Leite From Portugal ------------------------------------
90
11120
by: charlesmusco | last post by:
Hi all. I have the following problem. I have an xml file, while I will list below and I am trying to add nodes to the xml document based on user input to a form. The XML doc is ... <?xml version="1.0"?> <board> <message>
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10569
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10325
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10315
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.