Buongiorno,
il codice precedente per Ftp_CommandCompleted , mi stava dando problemi !!
Ho trovato quest'altro che differisce parecchio dal precedente ... però almeno non mi manda in crash 
	
	
	
	
	
	
	
	
	
		Sub Ftp_CommandCompleted ( Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String)
    Log("Command " & Command & " Success " & Success  & " Replycode " &  ReplyCode & " Replystring " & ReplyString)
    If ReplyCode = 200 Then
        'ok
    Else
        'something wrong...
    End If
End Sub
	 
	
	
		
	
 
L'unico problema è che non capisco il significato del ReplyCode .
Il comando
	
	
	
	
	
	
	
	
	
		FTP.SendCommand("RNFR" , pathOrder  & fileInCorso )
        FTP.SendCommand("RNTO", pathOrder  & fileInCorso & ".bak")
	 
	
	
		
	
 
 esegue  quello che deve fare (rinominare ) , ma il Ftp_CommandCompleted mi
restituisce questi messaggi
Command RNFR Success false Replycode 350 Replystring 350 RNFR accepted - file exists, ready for destination
Command RNTO Success true Replycode 250 Replystring 250 File successfully renamed or moved
se tutto fosse ok ... allora è errato il codice if presente nel Ftp_CommandCompleted
che indica If ReplyCode = 200 Then  ' come tutto OK
Grazie ragazzi