In order to upload files into a Servoy solution using a custom webcomponent here are the steps you should do :

<form action="resources/upload/35400153-e5d3-41cb-8032-3b4f91459aca/test/fileupload/file" method="post" enctype="multipart/form-data">