私は私たちの主題のためにASPクラシックでファイルコピープログラムを作成しています。IEでは正常に動作しますが、Firefoxでは動作しません。入力タイプのファイルを使用してユーザーにファイルを参照させる必要がありますが、値を取得すると、完全なパスではなくファイル名のみが返されます(Firefoxの場合)。私はインターネットを検索しますが、運がありません。これを行う他の方法はありますか?前もって感謝します
<%
if (Request.Form("btnSave")<>"" )then
dim fis
Set fis = Server.createobject("Scripting.FileSystemObject")
Response.write(Request.Form("txtPath"))
dim path
path= Server.Mappath("\sample\images") & "\"
Response.write(path)
dim source
source =Request.Form("txtPath")
response.write(source)
fis.CopyFile source, path
set fso = nothing
End If
%>