【问题标题】:File Upload Error in Classic ASP经典 ASP 中的文件上传错误
【发布时间】:2014-11-17 16:33:13
【问题描述】:
Set PersistsUpload = Server.CreateObject("Persits.Upload.1")
PersistsUpload.Save 
set persistsfile = PersistsUpload.Files("file")

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

Request.BinaryRead failed: Unspecified error

【问题讨论】:

  • 这里的信息其实很少:你上传的是什么类型的文件,文件有多大,用户是否有权访问文件(OS)等等。

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


【解决方案1】:

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

见: http://support.persits.com/show.asp?code=PS01032216

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-06
    • 2010-11-04
    • 2011-12-18
    相关资源
    最近更新 更多