I have a CCK node type with a required File Field (this is a "download page" for our hosting downloads). How can I create a node programmatically that populates the file field, either with uploaded data or a file already present on the system? I've successfully created simpler nodes with drupal_execute.
Comments
Comment #1
anantagati commentedsubscribing...
Comment #2
dopry commentedsee http://drupal.org/node/201594
It should work for filefield as well... maybe some minor tweaking required.