I have been using normal file upload element to upload files and validate them. But recently, I found out that implementing a Zend_file_tranfer gives much control over the file.
I am searched Everywhere in the internet searching for a simple example to get started with it, but none of them show how they are linked to the element. I dont know where to create the object of Zend_File_Transfer, and how to add it to the element? I basically dont know, how to use it.
Can anyone give me a beginners example of using zend_File_tranfers, in both zend_form and Zend_Controller_Action
When you create your form do something like this in your form:
Then when you submit your form in your controller: