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: