Similar to #407612: Process existing FID's, we need to process uploaded files. In this case, we should probably rely on (and finish the port of) http://drupal.org/project/hook_file.
We would simply create a new file object, passing everything through the hooks, and then pass it on through the same mechanism. Easy as pie!
Comments
Comment #1
jmstacey commentedUploading a file right now will result in an HTTP Error 0. This is caused by the drupal_json() call. drupal_to_js() may be a viable alternative.
See: http://drupal.org/node/331941 and http://drupal.org/node/399676
Other helpful AHAH references: http://katbailey.net/blog/dual-aspect-drupal-forms-and-what-means-your-a... and http://katbailey.net/blog/ahah-drupal-may-it-one-day-live-its-acronym
Comment #2
jody lynnThis is no longer an issue.