Come non detto

Funziona ma quando salva il file omette la prima lettera (sempre su FF)...

Su explorer funziona bene come sempre...

adesso sono a questo punto:

codice:
percorso = "/upload/documentazioni/"

ByteRicevuti = Request.TotalBytes
'response.Write(ByteRicevuti)

if ByteRicevuti > 0 then
	DatiRicevuti = Request.BinaryRead(ByteRicevuti)
	For i = 1 To lenB(DatiRicevuti)
		FileBinario = FileBinario & chr(ascB(midB(DatiRicevuti,i,1)))
	Next
	FirmaFile = left(FileBinario,instr(FileBinario,"" & vbCrLf)-1)
	ArrPezzi = split(FileBinario,FirmaFile)
   ' ArrPezzi(0) Contiene tutto il percorso del file compreso il nome del file con l' estensione
	for item = 1 to ubound(ArrPezzi)-1
		Inizio = instr(ArrPezzi(item),"" & vbCrLf & "" & vbCrLf)
		Intestazione = left(ArrPezzi(item),Inizio-1)		
		Inizio = Inizio + len("" & vbCrLf) + len("" & vbCrLf)
	    	ContenutoFile = mid(ArrPezzi(item),Inizio,len(ArrPezzi(item))-Inizio-1)

		' Recupero i campi se sono compilati
		if instr(Intestazione,"testo1") > 0 then
			testo1 = ContenutoFile
		end if


		if instr(Intestazione,"file1") > 0 then
	    	i = instr(Intestazione,"filename=")
			j = instr(i + 10,Intestazione,chr(34))			
			NomeUpload = mid(Intestazione,i + 10,j-i-10)

			i = instrRev(NomeUpload,"\")
			if i=0 then i = instrRev(NomeUpload,"/")
			if i=0 then i = 1 
	'		response.Write(NomeUpload)			
			if i<>0 then
    		    NomeFile = mid(NomeUpload,i + 1)
    		else
    			NomeFile = NomeUpload
    		end if
		'	response.write(i)
      		if i<>0 then
				Set FSO = CreateObject("Scripting.FileSystemObject")
				Upload1 = True
				DimensioneFile1 = len(ContenutoFile)
				EstensioneFile1 = right(ContenutoFile,3)
				NomeFile1 = NomeFile
    			Set textStream = FSO.CreateTextFile(server.mappath(percorso & NomeFile1), True, False)
    			textStream.Write ContenutoFile
    			textStream.Close
    			Set textStream = Nothing
	   			Set FSO = Nothing
    	   end if
		end if 

next

....