Private Sub Command2_Click()
Dim El_Host As String
If txt_Remoto = "" Then
MsgBox " No hay archivo para descargar", vbInformation
Exit Sub
End If
List1.AddItem " ..Descargando "
'Asigna la Url, es decir el nombre del Host FTP
El_Host = "ftp://" & txt_servidor
With Inet1
.URL = El_Host
'nombre de usuario y password de la cuanta FTP
.UserName = txt_Usuario
.Password = txt_Pass
'DEscarga el archivo indicado con el comando Get
Call .Execute(, "Get " & txt_Remoto & " " & txt_local)
DoEvents
End With
End Sub