Moving Files with a .bat or SWITCH Script?
Posted: Fri Nov 02, 2018 8:26 pm
I'm working on two flows in SWITCH that involve moving incoming zip archives and xml files to a location on our network. The files are then picked up by a service running on another internal server, and they are eventually processed into a proprietary system in-house. The problem that I'm having is that the service picking up these files is not playing nicely with the SWITCH transfer and the service gets hung up. What I'd like to do is to move files with a .bat file using an execute command element or use a SWITCH Script to do the move.
Ideally, I'd just like to have an incoming job hit the execute comman or script element and say "move incoming job to \\network\folder" or have the file placed somewhere on the network and then a trigger that says "move job at \\network\folderA to \\network\folderB"
Either way, the file needs to be written by a comman or script so that SWITCH isn't doing the folder to folder transfer. Any suggestions on the best way to do that?
Ideally, I'd just like to have an incoming job hit the execute comman or script element and say "move incoming job to \\network\folder" or have the file placed somewhere on the network and then a trigger that says "move job at \\network\folderA to \\network\folderB"
Either way, the file needs to be written by a comman or script so that SWITCH isn't doing the folder to folder transfer. Any suggestions on the best way to do that?