Hi Jason,
My line 145 reads:
if (move_uploaded_file($uploadedFile["tmp_name"] , $attemptedServerFilePath)) {
The line you referred to is line 142.
None the less I inserted the code that you suggested in front of line 142 and it made no difference (other than shiftingthe error to now line 146)
Here is the calling code on my page:
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if(isset($_POST["_but2"])){
WA_DFP_UploadFile("WA_UploadResult2", "_upload2", "", "../../swf/", "[FileName]", "0", "[FileName]_[Increment]", "0", "false", "0", "0");
}
?>
<?php
More help please.