This sample shows how to instantiate the file upload in JavaScript. Note: For demonstration purposes uploaded files must be less than 1 MB, however the control can be used with any file size supported by the server/client (usually up to 2GB). Any files you upload on this page are not retained on our servers.