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

jonhattan’s picture

Status: Active » Fixed

commit 29f97f8

I did a clean up that is a little api change.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.