c#, VS2012 -- use code to move a file on Windows machine to AS400
Posted on 2013-12-20
I have an executable that is being scheduled to run via Windows Task Manager and must write a flat file from a Windows machine to an AS400 programatically. The AS400 needs log in information.
So, in other words, when I do something like:
sw = new StreamWriter(this._APDeliveryPath + "APDIST" + sDate + ".txt");
this._APDeliveryPath is expressed something like \\as400server\folde\folder\folder ...
I don't have access to the AS400 without logging into it.
Can this be done programatically?