Hi Andrew, You put the enctype in the wrong place:
The form:
<form action="Upload_FileAction" method="POST"> <p> Select File to Upload: <input type="file" name="uploaded" enctype="multipart/form-data"> </p> <input type="submit" value="Upload File"> </p> </form>
should read:
<form action="Upload_FileAction" method="POST" enctype="multipart/form-data"> <p> Select File to Upload: <input type="file" name="uploaded"> <br /> <input type="submit" value="Upload File"> </p> </form>
The method:
<dtml-call "manage_addProduct['OFSP'].manage_addFile(uploaded.filename,uploaded)">
You may want to check if "upload" is not a string in any way, because this is what You get if someone submits the form without filling in a file in the upload, or submitting a file which does not really exist. cheers, clemens