Package DE_EPAGES::TLE::API::FileInfoHandler
TLE handler for file issues. This handler supports the following formats:
- #Path[filepath] - directory, e.g. "C:\\epages\\Shared\\WebRoot"
- #Path[filename] - file name without extension
- #Path[fileext] - extension, e.g. ".txt"
- #Path[fullfilename] - file name including extension
Functions
FileInfo
Returns information about a file. See DE_EPAGES::Core::API::File::GetFileInfo.
Syntax |
#FileInfo(#FileName, #Directory) |
Example |
#LOCAL("Info", #FileInfo(#ImageSmall, #PublicPath)) #Info.Size, #Info.LastChange[datetime] #ENDLOCAL |
Input |
|
FileSize
Returns size of file. Returns #UNDEF if the file does not exist.
Syntax |
#FileSize(#FileName, #Directory) |
Example |
#FileSize(#ImageSmall, #PublicPath) |
Input |
|
ImageInfo
Returns information about an image file. See DE_EPAGES::Core::API::Image::GetImageInfo.
Syntax |
#ImageInfo(#FileName, #Directory) |
Example |
#LOCAL("Info", #ImageInfo(#ImageSmall, #PublicPath)) #Info.Height, #Info.Width #ENDLOCAL |
Input |
|