This extension adds a URL File Import Operation to Directus.
It is similar to the import function in the FilesService with the following (extra) features.
You can specify the HTTP method like 'GET,POST' etc.
Set the URL from where you want to import any file from the web.
You can set HTTP Headers. Some external URL's will need API keys or Auth tokens. You can specify these here.
This can be used to enter the (virtual) folder id where the file should be linked to in Directus.
You can send a HTTP Body if needed.
First build your extension
cd directus-extension-url-file-import
npm run build
Then make sure to copy this folder into /directus/extensions (eg. docker) or /directus/api/extensions (local) and restart your app.