Moin zusammen,
ich habe da gerade ein seltsames Problem mit dieser Funktion.
Diese Func:
Spoiler anzeigen
Func ScreenshotCopy()
$slot = $slotname1
_FTP_DirSetCurrent($Conn, $slot)
If @error Then
MsgBox(16, "FTP-Error", "No FTP connection to" & @CRLF & $slot & " possible!")
EndIf
If FileExists(@ScriptDir & "\Settings\screenshot.exe") Then
If _FTP_FilePut($Conn, @ScriptDir & "\Settings\Screenshot.exe", $slot & "\Screenshot.exe") Then
Consolewrite("Screenshot.exe erfolgreich kopiert" & @CRLF)
GUICtrlSetState($screenButton, $GUI_ENABLE)
GUICtrlSetBkColor(-1, 0x00FF00) ;### > >
else
MsgBox(16, "FTP-Error", "Could not copy Screenshot.exe to: " & @CRLF & $slot & " !")
EndIf
Else
MsgBox(16, "Copy error", "No screenshot.exe in script folder." _
& " Please be shure, that all neccassary files have been copied to your desktop!")
EndIf
EndFunc ;==>ScreenshotCopy
soll mir eine Screenshot.exe per FTP auf ein anderes Gerät kopieren...
Das funktioniert aber nicht richtig, die Func kommt nicht aus dem _FTP_FilePut() raus, sondern bleibt da hängen.
Die Consolenausgabe kommt nämlich nciht, sondern die App hängt sich weg.
Auf dem Gerät habe ich dann zwar eine Screenshot.exe, diese hat aber 0 Bytes.
Kopieren per Drag&Drop per FileZilla funktionert....
Seht Ihr da einen Fehler im Script, oder könnte das die Firewall sein???