example/handlers/upload.js
function(directoryName, cbUpload, cbError) {
    this.directory = directoryName;
    this.name = '';
    this.localPath = '';
    this.virtualPath = '';
    this.onUpload = cbUpload;
    this.onError = cbError;
}
function(directoryName, cbUpload, cbError) {
    this.directory = directoryName;
    this.name = '';
    this.localPath = '';
    this.virtualPath = '';
    this.onUpload = cbUpload;
    this.onError = cbError;
}
function ( directoryName , cbUpload , cbError ) { this . directory = directoryName ; this . name = '' ; this . localPath = '' ; this . virtualPath = '' ; this . onUpload = cbUpload ; this . onError = cbError ; }
File upload handler
@param cbUpload
@param cbError
@param directoryName
File upload handler