upload_file_from_url
Upload a file from a remote URL into ERPNext, with options to attach it to a specific document and control privacy.
Instructions
Upload a file to ERPNext from a URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | Source URL to fetch the file from | |
| filename | No | Optional name for the file (will be inferred from URL if not provided) | |
| is_private | No | Whether file should be private (default True) | |
| attached_to_name | No | Optional document name to attach file to | |
| attached_to_doctype | No | Optional DocType to attach file to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||