public BoxFile . Info uploadFile ( InputStream fileContent , String name , long fileSize , ProgressListener listener ) { FileUploadParams uploadInfo = new FileUploadParams ( ) . setContent ( fileContent ) . setName ( name ) . setSize ( fileSize ) . setProgressListener ( listener ) ; return this . uploadFile ( uploadInfo ) ; }
Uploads a new file to this folder while reporting the progress to a ProgressListener .