经典ASP中的文件上传错误

时间:2014-09-23 12:52:04

标签: file-upload asp-classic image-uploading object-persistence photo-upload

Set PersistsUpload = Server.CreateObject("Persits.Upload.1")
PersistsUpload.Save 
set persistsfile = PersistsUpload.Files("file")

当我上传文件时,会返回以下错误:

Request.BinaryRead failed: Unspecified error

1 个答案:

答案 0 :(得分:0)

在大多数情况下,这意味着您的上传脚本在调用Upload.Save XXX之前使用Request.Form或Request.QueryString。结果,Request对象的BinaryRead方法失败。

请参阅: http://support.persits.com/show.asp?code=PS01032216