Astera Data Stack
search
Ctrlk
Astera Data Stack
  • Welcome to Astera Data Stack Documentation
  • Release Notes
    • Upgrading Astera 6 to Version 7
    • Release Notes for Astera 7.1
    • What is New in Astera 7.4
    • What’s New in Astera 7.4.1.221
    • What’s New in Astera 7.6
    • Upgrading to Astera 7.6
  • Setting Up
    • System Requirements
    • Installing Astera Data Integrator
    • Setting up Astera Integration Server 7
    • UI Walkthrough - Astera Data Integrator
  • Dataflows
    • Introducing Dataflows
    • Sources
    • Transformations
    • Destinations
    • Data Logging and Profiling
    • Database Write Strategies
    • Text Processors
  • Workflows
    • Adding Workflow Tasks
    • Creating Workflows
    • Using Workflow Designer
    • Customizing Workflows With Parameters
    • Workflows with a Dynamic Destination Path
    • Resuming and Rerunning Workflows in Astera
  • Subflows
    • Using Subflows
  • Functions
    • Functions Glossary
    • Introducing Function Transformations
    • Custom Functions
    • Logical
    • Conversion
    • Math
    • Financial
    • String
    • Date Time
    • Files
      • AppendTextToFile (String filePath, String text)
      • CopyFile (String sourceFilePath, String destFilePath, Boolean overWrite)
      • CreateDateTime (String filePath)
      • DeleteFile (String filePath)
      • DirectoryExists (String filePath)
      • FileExists (String filePath)
      • FileLength (String filePath)
      • FileLineCount (String filePath)
      • GetDirectory (String filePath)
      • GetEDIFileMetaData (String filePath)
      • GetExcelWorksheets (String excelFilePath)
      • GetFileExtension (String filePath)
      • GetFileInfo (String filePath)
      • GetFileName (String filePath)
      • GetFileNameWithoutExtension (String filePath)
      • LastUpdateDateTime (String filePath)
      • MoveFile (String filePath, String newDirectory)
      • ReadFileBytes (String filePath)
      • ReadFileFirstLine (String filePath)
      • ReadFileText (String filePath)
      • ReadFileText (String filePath, String codePage)
      • WriteBytesToFile (String filePath, ByteArray bytes)
      • WriteTextToFile (String filePath, String text)
    • Date Time With Offset
    • GUID
    • Encoding
    • Regular Expressions
    • TimeSpan
    • Matching
  • Report Model
    • User Guide
    • Report Model Interface
    • Use Cases
    • Exporting Options
    • Miscellaneous
  • Project Management
    • Project Management
    • Job Scheduler
  • Web Services
    • Configuring Google Drive API through REST Client in Astera
    • Connecting to Eloqua using Astera REST API
    • POSTing Data Using the REST Client
    • Using the REST Client to Download a Text File
  • Metadata Management
    • Lineage and Impact Analysis
  • Connectors and Providers
    • Setting Up Oracle ODP.Net Connectivity in Astera
    • Running Microsoft Access Database Engine with Astera
    • Oracle Client Tools Setup
    • Oracle Data Load Options
  • Miscellaneous
    • Job Trace Improvements
    • SmartMatch Feature
    • Synonym Dictionary File
    • Using the Data Source Browser in Astera
  • Best Practices
    • Astera Best Practices - Dataflows
    • Cardinality Errors FAQs
    • Overview of Cardinality in Data Modeling
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Functions

Files

AppendTextToFile (String filePath, String text)chevron-rightCopyFile (String sourceFilePath, String destFilePath, Boolean overWrite)chevron-rightCreateDateTime (String filePath)chevron-rightDeleteFile (String filePath)chevron-rightDirectoryExists (String filePath)chevron-rightFileExists (String filePath)chevron-rightFileLength (String filePath)chevron-rightFileLineCount (String filePath)chevron-rightGetDirectory (String filePath)chevron-rightGetEDIFileMetaData (String filePath)chevron-rightGetExcelWorksheets (String excelFilePath)chevron-rightGetFileExtension (String filePath)chevron-rightGetFileInfo (String filePath)chevron-rightGetFileName (String filePath)chevron-rightGetFileNameWithoutExtension (String filePath)chevron-rightLastUpdateDateTime (String filePath)chevron-rightMoveFile (String filePath, String newDirectory)chevron-rightReadFileBytes (String filePath)chevron-rightReadFileFirstLine (String filePath)chevron-rightReadFileText (String filePath)chevron-rightReadFileText (String filePath, String codePage)chevron-rightWriteBytesToFile (String filePath, ByteArray bytes)chevron-rightWriteTextToFile (String filePath, String text)chevron-right
PreviousDateToIntegerYYYYMMDD (Date dateTime)chevron-leftNextAppendTextToFile (String filePath, String text)chevron-right

© Copyright 2025, Astera Software