Pure ASP upload with image detection

后端 未结 3 1312
借酒劲吻你
借酒劲吻你 2020-11-28 14:44

How to upload files from browser to server running classic ASP and detect, server side, if the files are valid pictures? For valid pictures, how to get their dimensions?

3条回答
  •  情深已故
    2020-11-28 15:37

    As a PPS, the problem might be a little more basic than you might think. IIS has a limit of 200K for a BinaryRead() function call. Has anyone come into this problem while trying to implement this solution?

    Why wasn't the BinaryRead() limitation mentioned anywhere in the initial documentation? I've been struggling with this for over an hour.

    This link on StackOverflow explains it: Request.BinaryRead(Request.TotalBytes) throws error for large files

提交回复
热议问题