Deleting files from Windows Share
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts
Page 1 of 1
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Create your Windows Share File List Variable:
Code: Select all
Then, execute the Delete Task with the variable created in the CreateFileList above: <createFileList label="Create Filelist" fileListVariable="MyFileList" version="1.0">
<fileset dir="\\MyServer\MySubFolder\MyFolderLocation\" recursive="false">
<wildcardFilter>
<include pattern="*.txt" caseSensitive="false" />
</wildcardFilter>
</fileset>
</createFileList>
Code: Select all
Keep in mind, the FileList Variable could be created via a Monitor, Copy, Rename, Delete, FTP,and several other ways. Not just by a CreateFileList. <delete label="Delete My Original Files" inputFilesVariable="${MyFileList}" version="1.0"/>
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts
Page 1 of 1