Boxlang 1.x Stable Released
BoxLang : A Modern Dynamic JVM Language
LogoLogo
CtrlK
APIDocsDownloadTrySourceSupport
  • Introduction
  • Getting Started
    • Overview
    • Installation
    • Running BoxLang
    • BoxLang Cloud Servers
    • IDE & Tooling
    • Runtime Configuration
  • BoxLang Language
    • Program Structure
    • Syntax & Semantics
    • Classes & O.O.
    • Reference
      • API Docs
      • Lexical Elements
      • Types
      • Built-in Functions
        • array
        • async
        • binary
        • cache
        • cli
        • conversion
        • decision
        • encryption
        • format
        • i18n
        • io
          • ContractPath
          • CreateTempDirectory
          • CreateTempFile
          • DirectoryCopy
          • DirectoryCreate
          • DirectoryDelete
          • DirectoryExists
          • DirectoryList
          • DirectoryMove
          • DirectoryRename
          • ExpandPath
          • FileAppend
          • FileClose
          • FileCopy
          • FileDelete
          • FileExists
          • FileGetMimeType
          • FileInfo
          • FileIsEOF
          • FileMove
          • FileOpen
          • FileRead
          • FileReadBinary
          • FileReadLine
          • FileSeek
          • FileSetAccessMode
          • FileSetAttribute
          • FileSetLastModified
          • FileSkipBytes
          • FileWrite
          • FileWriteLine
          • GetCanonicalPath
          • GetDirectoryFromPath
          • GetFileInfo
          • getTempFile
          • PropertyFile
        • java
        • jdbc
        • list
        • math
        • query
        • runtime
        • scheduler
        • string
        • struct
        • system
        • temporal
        • type
        • xml
        • zip
      • Components
      • Exceptions
  • BoxLang Framework
    • Application.bx
    • Async Programming
    • Components
    • Caching
    • File Handling
    • Property Files
    • Interceptors
    • HTTP/S Calls
    • Java Interop
    • JDBC Transactions
    • Modules
    • BoxLang+
  • Extra Credit
    • Testing
    • MVC
    • Dependency Injection
Powered by GitBook
On this page
  • Method Signature
  • Arguments
  • Examples
  • Related

Was this helpful?

Edit
  1. BoxLang Language
  2. Reference
  3. Built-in Functions
  4. io

GetFileInfo

Returns a struct of file information.

Different values are returned for FileInfo and GetFileInfo

Method Signature

GetFileInfo(file=[any])

Arguments

Argument
Type
Required
Description
Default

file

any

true

The filepath or file object to retrieve info upon

Examples

Related

  • ContractPath

  • CreateTempDirectory

  • CreateTempFile

  • DirectoryCopy

  • DirectoryCreate

  • DirectoryDelete

  • DirectoryExists

  • DirectoryList

  • DirectoryMove

  • DirectoryRename

  • ExpandPath

  • FileAppend

  • FileClose

  • FileCopy

  • FileDelete

  • FileExists

  • FileGetMimeType

  • FileInfo

  • FileIsEOF

  • FileMove

  • FileOpen

  • FileRead

  • FileReadBinary

  • FileReadLine

  • FileSeek

  • FileSetAccessMode

  • FileSetAttribute

  • FileSetLastModified

  • FileSkipBytes

  • FileWrite

  • FileWriteLine

  • GetCanonicalPath

  • GetDirectoryFromPath

  • getTempFile

  • PropertyFile

PreviousGetDirectoryFromPathNextgetTempFile

Last updated 18 days ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp