Microsoft VBScript compilation error ' 800a0401' <BR><BR>Expected end of statement <BR><BR>upload.asp, line 118 <BR><BR>If not oFS.FolderExists(sPath) Then Session("IsGoodPath") = False Exit sub<BR><BR><BR>And there's an arrow just before the "Exit sub"<BR>
That error means that it expects the statement to end. Usually this is signaled by a " at the end of a statement. This usually starts a statement as well. Without seeing all of your code it's difficult to tell wher you need to place them. Why not just try putting one in where it's telling you to?
It's because you tried to put two statements as the result of an IF-THEN. Try this instead...<BR><BR><BR>If not oFS.FolderExists(sPath) Then<BR> Session("IsGoodPath") = False<BR> Exit sub<BR>end if<BR><BR>