Closed (fixed)
Project:
FileField
Version:
5.x-2.2
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2008 at 23:59 UTC
Updated:
23 Jan 2008 at 10:03 UTC
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.