Wondering if anyone can help me please. Im able to upload pictures no problem until i introduce a maximum file size. If i then upload three pictures, the first two which are under the maximum file size and the third which is over then the script works fine. However if i then try it in reverse order the script will recognise the first file as being to large but then it wont save the next two pics which are under the maximum size.
'****************SET PIC DIRECTORY ETC********
'SAVE PICS TO DIRECTORY
Set Upload = Server.CreateObject("Persits.Upload")
Upload.OverwriteFiles = False
' Limit file size to 2000 bytes, throw an exception if file is larger
Upload.SetMaxSize 2000, True
' Intercept all exceptions to display user-friendly error
On Error Resume Next
Upload.Save "*********\carPics\pics"
'****************END SET PIC DIRECTORY ETC*********
any help would be greatly appreciated.