boxlang-file-handling

Read, write, copy, move, and delete files and directories in BoxLang.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-file-handling-ortus-boxlang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: boxlang-file-handling
Source: https://github.com/ortus-boxlang/skills/tree/main/boxlang-developer/file-handling
Command: npx skills add https://github.com/ortus-boxlang/skills --skill boxlang-file-handling-ortus-boxlang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

BoxLang file handling abstracts common filesystem tasks and simplifies reading, writing, copying, moving, and deleting files and directories, reducing boilerplate in scripts.

Core Features & Use Cases

  • Automated file I/O: read text and binary data, write content with encoding, and append or replace.
  • Directory management: list, create, copy, move, and delete directories with safe checks.
  • CSV/JSON helpers and file uploads: convert data formats on disk and manage uploaded content, including streaming large files.
  • Real-world scenarios: batch process logs, migrate data, and perform safe file operations in automation jobs.

Quick Start

Ask the agent to read or write a file at a given path and handle encoding and large-file streaming when needed.

Frequently Asked Questions about boxlang-file-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and write files with encoding in BoxLang?

BoxLang file handling abstracts read, write, copy, move, and delete file operations, allowing you to append or replace content while specifying encoding.

What is the best way to manage directories and prevent path traversal in BoxLang scripts?

BoxLang directory management includes listing, creating, copying, moving, and deleting directories with built-in safe-path checks to prevent traversal vulnerabilities.

Can I stream large files across nested directories in BoxLang?

Yes, BoxLang supports streaming large files across nested directories, making it suitable for batch processing logs and migrating data in automation jobs.

Does BoxLang work with CSV and JSON files on disk?

BoxLang provides CSV and JSON helpers to convert data formats on disk and manage uploaded content, simplifying data migration and batch processing tasks.

Do I need the BoxLang runtime to perform local disk management?

Yes, you need the BoxLang runtime with file-system access and encoding options to perform local disk management and safe file operations in automation jobs.