troubleshooting Question

mySmartUpload

Avatar of Moiz Saif
Moiz Saif asked on
ASP
8 Comments1 Solution481 ViewsLast Modified:
I am using mySmartUpload, and while using this component, i looked at the code for a simple uploading a file from client to server....my code is shown below....and it blows on the last line... the error message is shown at the bottom of this message..


Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
       
  'limit the file size to 50 Kb, Larger size not recommended
mySmartUpload.MaxFileSize = 50000

' limit the file extensions to pictures files
mySmartUpload.allowedFilesList="gif,jpg"

'Select files on the user computer
mySmartUpload.Upload                   <<  BLOWS HERE



An exception of type 'Request object: 006~ASP 0206~Cannot call BinaryRead after using Request.Form collection.' was not handled
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros