Notifications
Announcements
No record found.
Hi All,
This is my task ,example 27 IP is a one system 28 IP is on another system, I want to move the CSV file from 27 to 28 ,please anyone share some code how to do ?
Regards
Siva Kumar
*This post is locked for comments
Hi Sivakumar,
In what way is this question related to Dynamics AX? Do you want to move the file during a process execution of AX 2012? What exactly is 27 or 28 IP? File shares?
AX can handle Windows UNC paths without any problems. Create a network share, provide security access to the user accounts involved, and you are ready to go with any method of file writing (AsciiIO, CommaIO, System.IO.StreamWriter, etc) providing the network path using the fully qualified domain name, or the IP address.
Hi Vilmos Kintera,
Thanks for the replay ,Am searching but I did't get any link or code for this ,can you have any link please share
The link or code would be as per any other AX file operation, just for the folder path you would use your network share path the same way if you would just browse there within Windows Explorer. I do not understand what you do not understand about UNC path network share. www.lifewire.com/unc-universal-naming-convention-818230
HI Sukrut,
Thanks for the reply.
The file which I want to copy is on another system, it is not in the same machine.
I want to copy file from another system(external machine) to my system.
In Ax we have this class "CatCatalogImportFile" can any one tell us the purpose of this.
Any suggestions are appreciated.
You must create a network share for the folder where the file exists on the source computer that you are copying it from. It is clearly explained in the links I have provided.
As for the second part of your latest post I would suggest opening a new thread, since it is off-topic.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2