Also,
das File was ich öffen will, öffnet es nicht.
Hier das Script:
#include <GUIConstants.au3>
#include <FTPEx.au3>
;==============================================================================================
$sAgent = "PvPonFireFTP" ;Fantasie Name
$sServerName = "*******"
$sUserName = "*******"
$sPassword = "******"
$lFileName = "/html/news.txt"
;==============================================================================================
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("PvPoF Launcher", 484, 304, 246, 312)
$Input1 = GUICtrlCreateInput("", 185, 72, 121, 21)
$Label1 = GUICtrlCreateLabel("Benutzer-ID", 215, 48, 60, 17)
$Input2 = GUICtrlCreateInput("", 185, 122, 121, 21)
$Label2 = GUICtrlCreateLabel("Passwort", 222, 104, 47, 17)
$Button1 = GUICtrlCreateButton("Anmelden", 208, 152, 75, 25, 0)
$Button2 = GUICtrlCreateButton("Registrieren", 208, 184, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$lSession = _FTP_Open($sAgent)
$hConnect = _FTP_Connect($lSession, $sServerName, $sUserName, $sPassword)
_FTP_FileOpen($hConnect, $lFileName)
EndSwitch
WEnd
Aber es öffnet es nicht!
Mfg und Danke