Overview
This node interacts with the Put.io API to perform file management operations such as listing files, retrieving file details, downloading files, creating folders, and uploading files. It is useful for automating workflows that involve managing files stored on Put.io, such as backing up data, organizing files, or integrating Put.io storage with other services.
Use Case Examples
- Downloading a file from Put.io by specifying its file ID or file path.
- Listing all files and folders within a specific folder on Put.io.
- Uploading a file from n8n to a specified folder on Put.io.
Properties
| Name | Meaning |
|---|---|
| Selection Method | Determines how the file is selected for get or download operations, either by File ID or File Path. |
| File ID | The ID of the file to get or download, used when Selection Method is 'File ID'. |
| File Path | The full path to the file (e.g., /folder/subfolder/file.txt), used when Selection Method is 'File Path'. |
Output
JSON
downloadUrl- URL to download the requested file (for downloadFile operation).files- List of files returned when listing files in a folder.folders- List of folders returned when listing files in a folder.id- File ID for file details or created folder.name- Name of the file or folder.error- Error message if an operation fails and continueOnFail is enabled.
Dependencies
- Put.io API
Troubleshooting
- Invalid folder ID error occurs if the folder ID is not a number when listing files. Ensure the folder ID is numeric.
- File not found error occurs if the specified file path does not exist when getting or downloading a file by path. Verify the file path is correct.
- Binary data missing error occurs if the specified binary property does not exist on the input item when uploading a file. Ensure the binary property name is correct and binary data is present.
- API request failures may occur due to network issues or invalid credentials. Verify API credentials and network connectivity.