frappe-core-files

Manage Frappe file uploads, access control, and S3 storage configurations.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-core-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-core-files
Source: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/tree/main/skills/source/core/frappe-core-files
Command: npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-core-files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing file uploads, attachments, and storage in Frappe is error-prone and inconsistent across docs and backends. This skill provides best practices for File DocType usage, private vs public access, and S3 integration to ensure reliable file URLs and secure access.

Core Features & Use Cases

  • Guidance on File DocType operations, file_url patterns, and the separation of private/public files.
  • Use cases include uploading user files, serving secure attachments, and configuring cloud storage like S3.

Quick Start

Inspect and align your site's file handling workflows with the recommended File API patterns.

Frequently Asked Questions about frappe-core-files

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

FAQPage Schema
How do I upload attachments in Frappe and keep file URLs consistent across DocTypes?

Private files in Frappe are served securely by applying privacy controls within the File DocType. This separates private from public files and enforces safe file handling, ensuring only authorized users can access restricted attachments.

What is the best way to configure S3 cloud storage for Frappe file uploads?

To configure S3 storage in Frappe, align your site's file handling workflows with recommended File API patterns. This ensures reliable file URLs and secure access across v14–v16 when using cloud storage backends.

How do private files work in Frappe and when do I need privacy controls for attachments?

Private files in Frappe use privacy controls within the File DocType to restrict access. You need these controls when serving secure attachments to ensure safe file handling and prevent unauthorized public access.

Does Frappe file management work across different storage backends and DocType versions?

Yes, Frappe file management works across different storage backends and DocType versions v14–v16. It ensures consistency by applying standard File DocType usage, get_file methods, and attach fields uniformly.

Why are my Frappe file URLs broken after switching to a cloud storage backend?

Frappe file URLs break when switching storage backends due to inconsistent file handling patterns. Following best practices for File DocType operations and URL patterns ensures reliable file URLs and secure access across S3 and local storage.