File upload

I am using the community version for a proof of concept and have two file upload situation that I have not figured out how to accomplish. For the POC I am just storing the file (no CMS).

  1. How is an optional file specified in the input contract and in operations

  2. How to handle a list of files.

Thank you for your reply. My requirement was to upload from an Application Page. I resolved this issue a year ago.

Hi
Could you specify whether you want to upload the File inside a Portal Task or Do you Want to upload the File from A living Apps Page (Application Page) .