1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| Open "CharacterAccountLog.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, TextLine
If TextLine <> (txt_idlog + ";" + txt_idpass) Then
'Debug.Print TextLine
Else
With Inet1
.RemotePort = 21
.AccessType = icDirect
.Protocol = icFTP
.URL = "monftp"
.UserName = "monlog"
.Password = "monpass"
.Execute , "SEND D:\chemin\CharacterAccountLog.txt /CharacterAccountLog.txt"
Do While Inet1.StillExecuting
DoEvents
Loop
.Execute , "CLOSE"
MsgBox "transfert terminé"
End With
indice = True
MsgBox "Lancement du jeu"
'RetVal = Shell("Updater.exe", 1)
Identification.Visible = False
OO.Visible = True
End If
Loop
Close #1 |
Partager