InfoPath Code - send file - InfoPath Dev
in

InfoPath Dev

InfoPath Code - send file

Last post 04-08-2013 07:54 AM by Troyfulkdev. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-08-2013 07:54 AM

    InfoPath Code - send file

    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?

                       

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.