download document

there exists a way of dowloading documents from Bonita inside my project?

For example, I ask my user for a document using upload widget, can i download that document in an especific folder of my machine?