Mit Array hab ichs auch schon probiert und es gibt dann zurück dass das Array keinen Wert hat. Außerdem sollte es auch ohne Array funktionieren...
Beiträge von Elke
-
-
Moin Leutz
[autoit]
hab da so ein kleines Problem und dachte ihr könntet mir hier weiterhelfen. Und zwar gibt die Funktion _FTP_FileFindFirst sowie _FTP_FileFindNext keine Rückmeldung. Weder Fehler noch sonstiges. Hat einer ne Ahnung was da los ist?
[/autoit]
#include <FTPEx.au3>
Dim $FirstFile
$IP = "censored"
$Port = 2211
$Name = "censored"
$PW = "censored"
$FTPOpen = _FTP_Open("FTP")
$FTPConnect = _FTP_Connect($FTPOpen,$IP,$Name,$PW,0,$Port)
$FirstFile = _FTP_FindFileFirst($FTPConnect,"/*.*",$FirstFile)
MsgBox(0,"",$FirstFile)
_FTP_FindFileClose($FirstFile)
_FTP_Close($FTPConnect)Danke schonmal im Vorraus.
-
Hab das Skript mal kurz überflogen. Könnte es sein dass es mit dem String nicht rechnet?
[autoit]
Probier mal folgendes:HotKeySet("{ESC}","Ex")
[/autoit][autoit][/autoit][autoit]
$en = InputBox("Number","Input : encrypted")
$N = InputBox("Number","Input : N")
$e = Number(InputBox("Number","Input : e"))
Global $t = 0
While 1
Global $x = $en + ($N*$t)
Global $y = $x ^(1/$e)
If Int($y) = $y Then
MsgBox(1,"Decrypted","It is : " & $x ^ (1/$e))
Exit
EndIf
Sleep(10)
$t = $t + 1
If Int($y) = $y Then
ConsoleWrite(Int($y) & ":" & $x ^ (1/$e) & ":" & $t & " + ")
EndIf
WEndFunc Ex()
[/autoit]
Exit
EndFunc