Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
drush_download_file() api doc claims to generate a value for $destination if ommited, but it doesn't.
$drush ev --cache "drush_download_file('http://ftp.drupal.org/files/projects/drush_extras-6.x-3.2.tar.gz', FALSE, 86400)"
copy(): Filename cannot be empty drush.inc:834 [warning]
It happens drush doesn't hit this bug because we always pass a $destination.
Comments
Comment #1
jonhattancommit 29f97f8
I did a clean up that is a little api change.