Actions100
- Project Actions
- Project Accept Project Invite
- Project Create Project Invite
- Project List Invites For Project
- Project Create Project
- Project Decline Project Invite
- Project Delete Project Avatar
- Project Request Project Avatar Upload
- Project Delete Project Invite
- Project Get Project Invite
- Project Delete Project Membership
- Project Get Project Membership
- Project Update Project Membership
- Project Delete Project
- Project Get Project
- Project Delete Server Avatar
- Project Request Server Avatar Upload
- Project Get Project Token Invite
- Project Get Self Membership For Project
- Project Get Server
- Project List Memberships For Project
- Project List Project Invites
- Project List Project Memberships
- Project List Projects
- Project List Servers
- Project Resend Project Invite Mail
- Project Update Project Description
- Project Update Server Description
- Storagespace Get Project Statistics
- Storagespace Get Server Statistics
- Storagespace Replace Project Notification Threshold
- Storagespace Replace Server Notification Threshold
- Backup Actions
- Backup Create Project Backup Export
- Backup Delete Project Backup Export
- Backup Create Project Backup Schedule
- Backup List Project Backup Schedules
- Backup Create Project Backup
- Backup List Project Backups
- Backup Delete Project Backup Schedule
- Backup Get Project Backup Schedule
- Backup Update Project Backup Schedule
- Backup Delete Project Backup
- Backup Get Project Backup
- Backup Update Project Backup Description
- SSH SFTP User Actions
- Cronjob Actions
- App Actions
- App Execute Action
- App Get App
- App Get Appinstallation
- App Patch Appinstallation
- App Uninstall Appinstallation
- App Get Appversion
- App Get Installed Systemsoftware For Appinstallation
- App Get Missing Dependencies For Appinstallation
- App Get Systemsoftware
- App Get Systemsoftwareversion
- App Link Database
- App List Appinstallations For User
- App List Appinstallations
- App Request Appinstallation
- App List Apps
- App List Appversions
- App List Systemsoftwares
- App List Systemsoftwareversions
- App List Update Candidates For Appversion
- App Replace Database
- App Request Appinstallation Copy
- App Retrieve Status
- App Unlink Database
- App Set Database Users
- Project File System Actions
- Contract Actions
Overview
This node operation, Project File System Get File Content, allows you to retrieve the content of a specific file within a given project. It is useful when you need to programmatically access logs, configuration files, or any other file stored in a project's file system for further processing, analysis, or monitoring.
Practical examples:
- Fetching log files from a project to analyze errors or usage patterns.
- Retrieving configuration files to verify settings or automate deployments.
- Accessing report files generated by the project for integration with other tools.
Properties
Name | Meaning |
---|---|
Project Id | The unique identifier of the project from which to fetch the file content. |
File | The path and name of the file to retrieve (e.g., /home/example.log ). |
Inline | Boolean flag indicating how the file should be served: true to serve inline (displayed in browser), or false to serve as an attachment (downloaded). |
Output
The output contains the content of the requested file in JSON format. The exact structure depends on the API response but typically includes the file data as a string or stream.
If the file is binary, the node will handle it accordingly, serving the file content either inline or as an attachment based on the Inline
property.
Dependencies
- Requires an API key credential to authenticate requests against the mittwald mStudio API.
- The node communicates with the mittwald API endpoint at
https://api.mittwald.de
. - Proper network access to the mittwald API service is necessary.
Troubleshooting
- File Not Found: If the specified file path does not exist in the project, the API may return an error. Verify the file path and project ID are correct.
- Authentication Errors: Ensure that the API key credential is valid and has sufficient permissions to access the project file system.
- Permission Denied: The user associated with the API key might lack rights to read files in the specified project.
- Network Issues: Connectivity problems to the mittwald API endpoint can cause request failures; check your network and proxy settings if applicable.
Links and References
- mittwald mStudio API Documentation (for detailed API capabilities and authentication)
- n8n documentation on Using Credentials