ciao, ultimamente, dopo ormai diverso tempo che uso la classe senza problemi l'upload si interrompe a causa del seguente errore:
(nel caso specifico il file ero uno zip di circa 7 mb)
qualcuno sa da cosa può dipendere? Baollllll....
Oggetto Request, ASP 0101 (0x80004005) La funzione ha restituito il valore "|". /HOME/upload.asp, line 291
la riga 291 è " Stream.Write Request.BinaryRead(bTr)" della funzione seguente:
codice:Private function BinaryRead() Dim bR,bTr,iT,eT,ePT Stream.Type = 1 Stream.Open bR = 0:bTr = 1024 * 20 iT = Timer() do while bR< iTotalBytes if iTotalBytes - (br + bTr)< 0 then bTr = iTotalBytes - bR Stream.Write Request.BinaryRead(bTr) bR = bR + bTr loop eT = Timer() if (Et-iT)<>0 then ConnectionSpeed = cStr(round((bR / (Et-iT)) / 1024,1)) & " [kb/s]" else ConnectionSpeed = cStr(round(bR/1024,1)) & " [kb/ms]" end if Stream.Position = 0 end function

Rispondi quotando