When I use the code to a empty project,It works,however when i put it to a full-source-code it won't work I'm making a questionnaire for a project,it writes the answers to a ini,and the ini shall be sent to the ftp. A sample from code ...
if GUICtrlRead($Radio57) = 1 Then
IniWrite("Results.ini","Αποτελεσματα","Ερωτηση12","18-20")
EndIf
if GUICtrlRead($Radio58) = 1 Then
IniWrite("Results.ini","Αποτελεσματα","Ερωτηση12","21-23")
EndIf
if GUICtrlRead($Radio59) = 1 Then
IniWrite("Results.ini","Αποτελεσματα","Ερωτηση12",">24")
EndIf
_FtpPutFile($Conn, 'Results.ini', '/public_html/Results.ini') _FTPClose($Open)EndFunc But it won't work.I tried the standard
$server = 'nope.avi'
$username = 'nope.avi'
$pass = 'nope.avi'
$Open = _FTP_Open('MyFTP Control')
$Conn = _FTP_Connect($Open, $server, $username, $pass)
_FTP_FilePut($Conn, 'Results.ini', '/public_html/Results.ini')
_FTP_Close($Open)
but it won't work either...