I'm trying to implement a form with a "file upload" function and seem to be missing something.

I've got a form and added the input:

                <input type="file" name="A4D_Upload">

A4D_Upload is a blob defined in compiler_web.

Using Safari, the file browser comes up and a selected file appears after selecting. Upon submitting the form, nothing seems to happen.

You might want to check the form encoding. To get a file upload to work - from pretty much any browser to pretty much any server side script - you need to use the syntax...


<form name="Form1" action="myscript.a4d" method="post" enctype="multipart/form-data">

Regards
Mark Howells
http://mark.ac/




Reply via email to