Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » FileSystem » XPathNodeIterator CopyDirectoryFiles (string sourceDirectoryPath, string destinationDirectoryPath)
XPathNodeIterator CopyDirectoryFiles (string sourceDirectoryPath, string destinationDirectoryPath)
 
Copies all files from the source directory to the destination directory. Destination files are reported as <FILE> elements. Source files are reported as <Depends> elements for each destination file.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
sourceDirectoryPath
Pathname of the source directory.
destinationDirectoryPath
Pathname of the destination directory.
Returns:
A <Files></Files> node set.
Was this helpful?
Last modified date: 10/14/2020