Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to save an XML Doc in remote server

Reply
Thread Tools

How to save an XML Doc in remote server

 
 
T.Jeywin Lizy
Guest
Posts: n/a
 
      03-24-2009
How to save an XML Doc in remote server
like we save xml file in local system as doc.Save("data.xml");


where doc is -----> XmlDocument doc = new XmlDocument();
Please let me know what should be the parameter of Save() method to store in
FTP.


Thanks
Lizy


 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      03-25-2009

"T.Jeywin Lizy" <> wrote in message
news:23056FED-9639-46EC-86AC-...
> How to save an XML Doc in remote server
> like we save xml file in local system as doc.Save("data.xml");
>
>
> where doc is -----> XmlDocument doc = new XmlDocument();
> Please let me know what should be the parameter of Save() method to store
> in
> FTP.


If the FTP server you're talking about is local to you, then you should be
able to give the UNC/directory name/data.xml in the doc.Save(UNC/directory
name/data.xml ). I'll assume you know what UNC means.

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      03-25-2009
On Mar 25, 11:56*am, "Mr. Arnold" <MR. Arn...@Arnold.com> wrote:
> "T.Jeywin Lizy" <TJeywinL...@discussions.microsoft.com> wrote in message
>
> news:23056FED-9639-46EC-86AC-...
>
> > How to save an XML Doc in remote server
> > like we save xml file *in local system as doc.Save("data.xml");

>
> > where doc is -----> * XmlDocument doc = new XmlDocument();
> > Please let me know what should be the parameter of Save() method to store
> > in
> > FTP.

>


Check this
http://www.google.com/search?q=ftp+asp.net
 
Reply With Quote
 
lizy lizy is offline
Junior Member
Join Date: Sep 2008
Posts: 3
 
      04-08-2009
Hi Arnold
Thanks for your reply
I use UNC and am to store the file in that remote location.But can I use server name 123.126.123.9 instead of UNC like
doc.Save(@"\\123.126.123.9\e$\dirName\Data.xml").

Thanks
T.Jeywin Lizy
 
Reply With Quote
 
lizy lizy is offline
Junior Member
Join Date: Sep 2008
Posts: 3
 
      04-09-2009
Hi Arnold
I am able to save xmldoc using ip address too.Above confusion caused due to error message Access denied. Any way thanks a lot for your reply.
If you have any idea about 'Access Denied to Path'
ie about security setting,
adding accout as aspnet or authenticated user or ...
attribite setPermission to class etc
please share.


Thanks
T.Jeywin Lizy
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM
String[] files = {"a.doc, b.doc"}; VERSUS String[] files = new String[] {"a.doc, b.doc"}; Matt Java 3 09-17-2004 10:28 PM
Need remote XML doc load that works with Netscape Chuck Wyatt XML 0 07-01-2004 01:24 PM
Parsing MS Word client doc into server-side doc... John Wallace ASP .Net 0 07-22-2003 06:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57