WAHtmlRenderer>>fileUploadWithCallback:. An instance of WAFile will be passed to the callback. You also need to set the enctype attribute of the form accordingly, for eg:
html attributeAt: 'enctype' put: 'multipart/form-data'.
html form: [html fileUploadWithCallback: [:f | self halt].
html submitButton]