Hi! The source attach (ftp) function file_scan_directory is using the D6 parameters.

6 file.inc file_scan_directory($dir, $mask, $nomask = array('.', '..', 'CVS'), $callback = 0, $recurse = TRUE, $key = 'filename', $min_depth = 0, $depth = 0)

7 file.inc file_scan_directory($dir, $mask, $options = array(), $depth = 0)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GeduR’s picture

Here is the patch to port,

I let the default umask values from the drupal core function, I don't know why in current versión it's ignoring .svn files and no others like .git etc..

ponies’s picture

Patch works well for me. Thanks!

quicksketch’s picture

Status: Active » Fixed

Thanks! Committed. Next time please mark "needs review" (and then RTBC in #2) so this bubbles up in my review process. Thanks!

Status: Fixed » Closed (fixed)

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