Guest juliusdev Posted May 2, 2004 Report Posted May 2, 2004 I was able to transfer an XML file from the web server to the pocket pc with the following code running on the pocket pc: Dim xmldoc As New Xml.XmlDocument xmldoc.Load("http://172.194.16.71/webappname/xmlfile.xml") xmldoc.Save("Windowsxmlfile.xml") That will save the file under the Windows folder of the Pocket PC. Does any body know how to do the reverse thing? Transfering an XML file from the mobile device to some folder in the server machine? juliusdev
Guest pagem2uk Posted May 2, 2004 Report Posted May 2, 2004 I've not looked at the file transfer facilities from Smart Device to server but depending on your intention an option might be to have a web service running on the server which exposes a webmethod for update which takes an (the revised) xml doc as a parameter. This fits nicely with the idea of being able to download an xml doc from the server to the device, change the doc on the device and communicate the new xml doc to the server. Code remains simple on the device and any merge logic sits on the server where you have the full .Net framework. Also if you expose this function as a web service you can get to it from (almost) any device. Hope this helps.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now