Forums / Developer / Unsure on uploading files...
Clemens T
Thursday 02 June 2005 2:11:16 am
Hello to all,I'm currently developing my own module and like to use the upload functionality build into Exponential.
On my quest for glory I've seen there is an Exponential class for this:<b>eZContentUpload</b>
And the module has some documentation, but I'm unsure on how to actually upload a file. The template should contain a form which contains:
- the local file to upload - a location in the content-tree- ...what else? Are the names predefined?
Which of the upload functions available in eZContentUpload should I be calling using the template/form? - eZContentUpload::upload(...) - eZContentUpload::handleUpload(...)
I'm sorry if the question is too general, I'm still trying to learn Exponential and if any of these questions are answered, I'd be helped! (It would save me a lot of time going through contributions etc).Thanks.
Clemens