Windows Share list files

Windows Share list files

The advanced, utilities workflow component, Windows Share list files lists all files found in a folder. The workflow component has these parameters:


Share: The name of the Windows Share connection in tenant settings
Recursive scan: If selected, sub directories will be scanned as well.
Sub directory: Relative path to the scan directory in the share.

Result

When running the scan, the file list is returned as an XML with the information about the files:
The XML will have the structure of:
<files>
<file>
<name>THE_FILENAME.EXT</name>
<path>/FOLDER</path>
<absolutePath>/FOLDER/THE_FILENAME.EXT</absolutePath>
<UNCPath>\\SHARENAME\SHAREDIR\FOLDER\THE_FILENAME.EXT</UNCPath
<uri>smbFile:/SHARENAME/FOLDER/THE_FILENAME.EXT</uri>
<modified>2024-11-18T15:36:18</modified>
</file>
<file>…………….
</files>

Where the XML nodes are:
name: The filename without path
path: The relative path without the filename
absolutePath: The relative path including the filename
UNCPath: The path that would be entered in a Windows file explorer
uri: The URI using the smbFile protocol (which can be used in URLS inside InterFormNG2)
modified: The timestamp for when the file last was modified.


Related workflow components:
    • Related Articles

    • Windows Share delete file

      The advanced, utilities workflow component, Windows Share delete file can be used for deleting a file in a Windows Shared folder. The workflow component has these parameters: Share: The name of the Windows Share connection to delete from Path: The ...
    • Attachment to Windows Share

      The advanced, utilities workflow component, Attachment to Windows Share writes an attachment in the current workflow as a file in the referenced Windows Share. The workflow component has these parameters: The parameters are: Share: The share name ...
    • Windows Share to attachment

      The advanced, utilities workflow component, Windows Share to attachment reads a file from the referenced Windows Share and stores it into an attachment of the current workflow. This attachment can be used e.g. as an additional attachment in a ...
    • Variable to Windows Share

      The advanced, utilities workflow component, Variable to Windows Share is able to write a file into a shared folder, where the contents of the file is the value stored in a workflow variable. The workflow component has these parameters: Variable name ...
    • Windows share connections

      If you want to use windows shares in InterFormNG2 for reading and writing data via such a shared folder, then you first need to define a connection to this share. This link might help you to define a share on the remote server: ...