I am working the OS update from x86 to x64 now.
Here is a .asp project that work fine on x86 but not fine on x64.
The problem is x64 can't get the form parameter after post.
tgtdir = mySmartUpload.Form("tgtdir").Values
tgtdir is empty!!!
Is IIS setting problem? or something else?
Please feel free to leave the answer or comment if you have any idea.
Some code that I write is...
In Main.asp
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY topmargin=4 leftmargin=10 bgcolor=wheat>
<FORM id=form01 name=form01 align=center enctype="multipart/form-data">
<TABLE width=100% align=center>
<TR>
<TH>
<FIELDSET>
<TABLE>
<TR>
<TD colspan=2>
<INPUT type=file id=file01 name=file01 style="WIDTH: 400 px" value="Preview">
<TR>
</TABLE>
</FIELDSET>
</TH></TR>
</TABLE>
<INPUT type=hidden id=tgtdir name=tgtdir value="AAA">
</FORM>
<DIV>
<IFRAME id=frameUpload name=frameUpload >
</IFRAME>
</DIV>
</BODY>
</HTML>
In fileupload.asp
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<%
On Error Resume Next
Dim mySmartUpload
Dim intCount
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.CodePage = "utf-8"
mySmartUpload.Upload
Set fso = Server.CreateObject("Scripting.FileSystemObject")
tgtdir = mySmartUpload.Form("tgtdir").Values
intCount = mySmartUpload.Save(tgtdir & "\")
%>
</BODY>
</HTML>