Feature Representation

Path features have no geometry.

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), this format adds the format-specific attributes described in this section.

Attribute Name

Contents

Example

path_unix

The path of the file or folder using UNIX-style forward-slash path separators.

If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path.

/usr/example/Documents/example.txt

path_windows

The path of the file or folder using Windows-style backslash path separators.

If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path.

C:\Temp\example.txt

path_filename

The name of the file or folder without path information.

example.txt

path_rootname

The filename without the file extension.

example

path_extension

The file extension not including the period.

txt
path_filesize

The size of the file in bytes. Directories will have a value of 0.

If size cannot be determined or the Retrieve File Properties reader parameter is set to No, the value will be 0.

 

path_folder_unix

The parent folder of the file or folder with the trailing slash using forward-slash path separators.

If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path.

/usr/example/Documents/

path_folder_windows

The parent folder of the feature with the trailing slash using backslash path separators.

If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path.

C:\Temp\

path_type

Set to either "file" or "folder" depending on whether the feature is a file or a folder

 
path_created_date

The date and time when the file or folder was created. If the Retrieve File Properties reader parameter is set to NO the value will be “”.

 
path_modified_date The date and time when the file or folder was last modified. If the Retrieve File Properties reader parameter is set to No, the value will be “”.  
path_accessed_date The date and time when the file or folder was last accessed. If the Retrieve File Properties reader parameter is set to No, the value will be “”.  
path_ownername The owner name of the file or folder. If the Retrieve File Properties reader parameter is set to No, the value will be “”.  
path_readonly The read-only attribute of the file or folder. If the Retrieve File Properties reader parameter is set to No, the value will be “”.