Hi, thanks for this great module. I ran into a little problem with remotely located files.
I had to adjust the $temp_path for remote files so that it is within the Drupal temporary directory (./ isn't necessarily writable); moreover, freshly "copied" files were (at least in my case) immediately unlinked after the copying (because of a reference in drupal-core's file_copy()-function).
Please find a micro-patch attached (SVN).
| Comment | File | Size | Author |
|---|---|---|---|
| node_export_file_remote_file_urls.patch | 1.19 KB | frega |
Comments
Comment #1
danielb commentedComment #2
tech4him commentedFYI. Patch worked for me also. Thanks!
Comment #3
danielb commentednot that important but thought I'd mention that
$temp_path = file_directory_temp().'/'.md5(mt_rand()) .'.txt';should be
$temp_path = file_directory_temp() .'/'. md5(mt_rand()) .'.txt';Comment #4
James Andres commentedThis is already fixed in CVS (DRUPAL-6--2).