node_export_file, a module for handling file attachments in node exports
James Andres - April 30, 2009 - 18:01
| Project: | Node Export |
| Version: | 6.x-2.5 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This is an add-on module I wrote for node_export that handles exporting and importing nodes containing:
- CCK FileFields
- Upload module attachments
- Images, ie: image nodes
The code can do file exports in 3 modes:
- Local, using original upload path (unaltered)
- Local, with a copy of the uploaded file placed in a separate directory (eg: /sites/all/file-exports)
- Remote, file exports are done via URL and downloaded by the site importing the node
This code hasn't been tested very thoroughly! All feedback / patches welcome!
I have been mostly using Remote mode, so it should be less buggy than the rest :-).
| Attachment | Size |
|---|---|
| node_export_file.tar_.gz | 2.27 KB |

#1
I haven't tried it out yet, but are you interested in contributing this to the node_export project? Or would you prefer to start a seperate project?
#2
If it is all the same to you, I think it makes sense to include this in the node_export project. Primarily because this module is a big pain point for most node_export users. It would be a hassle to download a separate module every time you used node_export.
#3
Yup no worries, when I get a chance I'll go through this, add it to CVS, and give you access to update it if needed.
#4
Sounds good Daniel. Thanks for your assistance!
#5
ok I've added it in
I've renamed export.module to node_export.module and i've called your module node_export_filefield.module
so I hope this change doesn't cause too many problems!
If you need to update it you have CVS access now.
#6
Great! I've got one more in the pipeline also, some integration with the Services module. I'll keep you posted :-)
#7
Automatically closed -- issue fixed for 2 weeks with no activity.