Have a huge number of NTFS files to be ported over into my new DBFM setup. Is there a tool or code-snippet that can be re-used? I am thinking of a tool that will have a config/xml file pointing to the current location mapped to the destination in DBFM (directory).

thanks!

Comments

geoff_eagles’s picture

No tool currently exists. There were plans to allow uploads of multiple files on dbFM - I was hoping to integrate a utility called swfupload which would do the trick - but nothing's happening on that front at the moment.
Rob Milne's WebFM (on which this was based) used to allow you to ftp a load of files to be imported.

SO, for the moment, you're on your own.
If you come up with a tool PLEASE share - we'd be delighted to include it in our distribution.

krashid’s picture

I have created a module to support this functionality, as a cron (page). Tested and works great!

The cron executes based on the following assumptions:
a. An input (text) file, with tab delimeted fields - FileName, Date Created, Date Modified, and location id of the DBFM folder.
b. The source file(s) to be uploaded into DBFM are located in the drupal file(s) temp directory

I have tested this with file migration of about 2GB, and it worked great! Let me know if this would be useful.

geoff_eagles’s picture

Sorry I've taken so long to reply - I've been on holiday. Yep, please send it! I'll have a play with it and if all goes well it'll be in the next release (with suitable acknowledgments everywhere!!).