How can i drop a file a file on a folder accros internet from within C# code?

B

Bredal Jensen

I need to send an xml file to biztalk to trigger an orchestration.
I know the folder and i have write acces to it. how can i write the file
this folder from within my program?


Many thanks in advance
JB
 
N

Nicholas Paldino [.NET/C# MVP]

Bredal,

You can easily do this using an XmlDocument class in the System.Xml
namespace. You can output the document to a file by passing it a FileStream
instance, instantiated with the full path of the file you want to write.

Hope this helps.
 

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

Top