I I가 제공 호스팅 달라 동안 이상한 이상한 오류가 표시했습니다 :ADODB.Stream 오류가 실패
는ADODB.Stream 오류 '800a0bbc'
쓰기 파일로를 실패한.
/cp/portal_upload.asp, 라인 (63)
내가 필요한 권한을주고이 업데이트 액세스 DB 문제가 있지만, 파일 업로드 여전히 고정되어 있지를 해결한다. 첫째
Public Sub Save(path)
Dim streamFile, fileItem
if Right(path, 1) <> "\" then path = path & "\"
if not uploadedYet then Upload
For Each fileItem In UploadedFiles.Items
Set streamFile = Server.CreateObject("ADODB.Stream")
streamFile.Type = 1
streamFile.Open
StreamRequest.Position=fileItem.Start
StreamRequest.CopyTo streamFile, fileItem.Length
streamFile.SaveToFile path & fileItem.FileName, 2 'This is line 63
streamFile.close
Set streamFile = Nothing
fileItem.Path = path & fileItem.FileName
Next
End Sub
경로가 잘못되었을 수 있습니다. 'Response.Write ("경로는"& path & fileItem.FileName & "
")'하고 결과로 얻은 것을 게시하십시오. –