Hello, looking for some insight on the SysCommand node in IPA.
I am trying to copy a file using the node and getting an error, I thought I read on this site, that it is possible to use SysCommand to copy files.
Looked for it but did not find it.
Here is what I am trying to do, I have a file we receive from an outside source, and we need to keep several backup copies of it, so I just want to make a copy of and attach a date time stamp to the name.
If I run the command in a DOS window, it works fine.
This is what I have in the SysCommand node,
Execution mode: run cmd.exe
C: && DIR && Copy D:FTPFiles\terry.txt D:FTPFiles\terryxyz.txt
Output from the Flow:
error message I get: The system cannot find the path specified.
Directory of C:\ 02/09/2015 11:38 AM
Can this be done with the SysCommand node, or is there a better way.
Any help would sure be appreciated.
Thanks
Terry
I had similar behavior that was caused by IPA running on our Landmark server, but the files I wanted to access were on our LSF server. In my case, the flow was trying to access files on the D: drive, but it was the D; Drive on Landmark, and they weren't there.
I just figured out my own problem after I walked away from it a bit.
I missed a slash in the statement. This was the command
C: && DIR && Copy D:\FTPFiles\terry.txt D:\FTPFiles\terryxyz.txt
instead of: C: && DIR && Copy D:FTPFiles\terry.txt D:FTPFiles\terryxyz.txt
Sorry to bother--