Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
- Posts: 2
- Joined: Fri Aug 08, 2014 3:34 pm
I've been unable to find anything in the documentation for this currently - I'm looking for a way to do the following:
1. List all files in folder A
2. Compare the list of files in folder A to the files in folder B
I've tried using a file list, but it captures the full file path and not just the file name. This might be a stupid question - is there a way to solely retrieve the file names and save them into variables to call again later?
- Posts: 592
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
The FileList variable captures more than just the file path. Attributes are available to the FileList variable that give you access to FileSize, FilePath, FileName, NameWithoutExtension, LastModifiedDate, etc...
So, you can utilize the FileList variable to do numerous things.
Looping through the FileList variable gives you access to these attributes.
Further Details can be found on our Forum under the Knowledge Center|Example Projects
is one example
Print FileList Attributes
Let us know if you have any other questions.
Lead Solutions Consultant
Return to “Community Forum”