Moving files between Windows shares
Does someone know if this is the only possible way or that the move can be realised in another way? I added my current code as an example.
Thanks in advance.
<project name="Move files from folder X to folder Y" mainModule="Main" version="2.0">
<module name="Main" onError="abort">
<copy destDir="DestinationDir" processedSourceFilesVariable="processed" version="1.0">
<fileset dir="SourceDir" recursive="false" />
</copy>
<delete inputFilesVariable="${processed}" version="1.0" />
</module>
</project>
- Support Specialist
- Posts: 592
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Another solution is to start your GoAnywhere Director with a Domain Service account (Windows) and give that Service Account permissions to the Target Servers (folders) you need to communicate with. Then, you can utilize the Move/Copy/Delete as needed utilizing the UNC Addressing, just as if it were a local folder (\\Server\Folder\Sub-Folder\File.name)
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696