Drupal Association members fund grants that make connections all over the world.
I would like to switch from the core Upload module to FileField, but I already have file attachments which were uploaded via the core module. Can someone please give me some hints on how can I do this migration automatically, using a PHP script and the information already stored in the database?
I've created a FileField field for the content type I have, and I've looked at the "upload" table and the "content_field_CONTENT_TYPE_attachments" table created by CCK, and the information looks similar, so I tried to add a new row to the content_field_CONTENT_TYPE_attachment table, based on the info in one of the "upload" table rows, but the attachment does not appear on the page, so I guess I need to do some other modifications as well.
Can anyone give me some pointers?