The mod_resource code shows that the filearea should probably be 'content' and not 'files'
General developer forum
Get hold of a file being uploaded as a resource
This discussion has been locked so you can no longer reply to it.