Create File From Url
Create a file object with a distant content based on a URL.
Description
Description
Create a new file instance in the local database which references a remote file. The file content is therefore not stored locally, but it is remotely available through the specified external URL.
A common use of this brick is to combine it with Get File Content
and Download File
, or as a source of an Image
visual component. This allows using files which are only available as URLs.
The newly created file is not persisted. Use the brick Persist Object
to do so.
Inputs
- Control Flow (Control Flow)
- file name (String): The name for the created file.
- mime type (String): The MIME type of the file.
- url (String): The URL where the file is located (max 2058 characters).
Outputs
- Control Flow (Control Flow)
- Error Flow (Error Flow)
- file (File)