You are here

public static function URLDownloader::download in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to URLDownloader::download()
FileUploaded::rehost in vendor/edsdk/file-uploader-server-php/src/lib/file/FileUploaded.php

File

vendor/edsdk/file-uploader-server-php/src/lib/file/URLDownloader.php, line 23

Class

URLDownloader

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public static function download($url, $dir) {
  $result = URLDownloader::downloadURL($url, $dir);
  return $result;
}