Simple File Upload

Apologies for submitting a similar question I already sent on August 17, but it's essential for completing my app.

Is there a way to implement the below html code with the TMS WEB component?

    <form ref='uploadForm' action='http://localhost:3000/upload'  method='post'        encType="multipart/form-data">
        <input type="file" name="myUploadFile" />
        <input type='submit' value='Upload!' />

Thanks in advance!

If what you need is to output this HTML on your page, you can use the TWebHTMLContainer for this and insert this HTML directly in the component.


thanks for your reply, I'll try your suggestion. What I need is to send a file via HTTP POST, so if your replies meets this need, it's perfect,