Module examples/fileupload.module claims to work in Drupal 6, however it doesn't even compile in D6
keff - April 13, 2008 - 21:28
| Project: | Documentation |
| Component: | Documentation in CVS |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
http://api.drupal.org/api/file/developer/examples/fileupload.module/6 - I was looking how to handle file uploads in a module, but this one is working only in D5. It claims to have a D6 version, but last update was in march 07 and D6 version uses functions that don't exist anymore in D6 (like file_check_upload() ).
Easy solution: Delete this example module from D6, so that it doesn't confuse any more programmers.
Good solution: Update it to work in D6 (FAPI file upload is seriously underdocumented IMHO, I spent now whole day looking for a way to get to uploaded files without haning to use patches on my drupal 6.2 installation).

#1
I've removed this from the repository until a proper fix can be made.
http://drupal.org/cvs?commit=110997
Thanks.
#2
Automatically closed -- issue fixed for two weeks with no activity.