fileFromUrl creates a new File from the provided url by downloading the resource and creating a BytesReader.
Example:
// with default max timeout of 120secconst file1 = $filesystem.fileFromUrl("https://...")// with custom timeout of 15secconst file2 = $filesystem.fileFromUrl("https://...", 15) Copy
// with default max timeout of 120secconst file1 = $filesystem.fileFromUrl("https://...")// with custom timeout of 15secconst file2 = $filesystem.fileFromUrl("https://...", 15)
Optional
Generated using TypeDoc
fileFromUrl creates a new File from the provided url by downloading the resource and creating a BytesReader.
Example: