I have created a InfoPath form and once submitted I have code that creates a text file on my front end of those fields. Now I need to be able to send that created file to another server that I have access to. Any ideas on how I can go about this?
String path = @\\frontendserver\c$\jas2.txt;
if (File.Exists(path))
{
string[] lines = {DD1, BB1, C1, A1, E1};
File.WriteAllLines(path, lines);
}
********This will write to the file and show the fields values (on a SharePoint front end), but I now need to get this file transferred to another server. Any ideas on how I may go about this?