Non so perchè non và datemi una mano lo so è una cavolata per voi ,era da tanto che non tornavo su autoit.
#include <all.au3>
#RequireAdmin
$Form1 = GUICreate("SpeedFileUp", 400, 200, 391, 276)
$Button1 = GUICtrlCreateButton("Carica File", 8, 144, 145, 41)
$Button2 = GUICtrlCreateButton("istruzioni all'uso", 310, 160, 90, 25)
$Input1 = GUICtrlCreateInput("Link sito", 16, 16, 105, 21)
$Input2 = GUICtrlCreateInput("nome sito", 16, 48, 105, 21)
$Input3 = GUICtrlCreateInput("pass Sito", 160, 16, 89, 21)
$Input4 = GUICtrlCreateInput("Nomefile.Estensione", 160, 48, 97, 21)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button2
$Form12 = GUICreate("Guida", 401, 201, 192, 124)
GUISetState(@SW_SHOW)
GUICtrlCreateLabel("Metti il file che hai intezione di caricare sul tuo sito nel desktop e dopo di che iserisci i dati richiesti",1,1,190,120)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
case $Button1
$Open = _FTP_Open("Controllo FTP")
$Connect = _FTP_Connect($Open,$Input1,$Input2,$Input3)
_FTP_FilePut($Connect,@desktopdir&$input4,$input4)
EndSwitch
WEnd