Jump to content

xGardian

Members
  • Posts

    10
  • Joined

  • Last visited

xGardian's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hey again.I wanna ask one more question. This programm is gonna be shared to many people,and i dont wanna everyone have the same ini name : Results.ini ,because it will be overwritted on server. What can i do to avoid it?Like giving random name or taking computer's time as the ini name? Tried to use Random but in upload function it can't find thefile
  2. Well it writes the results in the ini , but it gets bug on uploading. But as i said when i use the code on a empty project,it works. Edit: aw it's working now..something with fileclose was the problem. Thanks anyone who answered
  3. @AutoBert Thanks a lot ,it worked but when I put the code on the project,with the results ini im making ,it says "Check all Folders in Remotepath, they must exist before uploading!" It just won't upload it :c the full code which it will be bugging.It upload any other file i put
  4. 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...
  5. It won't work for me. Tried same $Open = _FTP_Open('MyFTP Control') $Conn = _FTP_Connect($Open, $server, $username, $pass) _FTP_FilePut($Conn, 'Results.ini', '/public_html/Results.ini') _FTP_Close($Open) Exit
  6. So I've been working on a project about a questionnaire which will upload the results(they are written in ini file) to a FTP server... So im using a code from a example $server = 'nope.avi' $username = 'nope.avi' $pass = 'nope.avi' $Open = _FTPOpen('MyFTP Control') $Conn = _FTPConnect($Open, $server, $username, $pass) _FtpPutFile($Conn, 'Results.ini', '/public_html/Results.ini') _FTPClose($Open) It worked when i first tried,but when i put it in a function,it wont work o.O Thanks for watching.
  7. Do you have SCiTE installed? No so i did Thanks now it work ^^ Close it please
  8. I don't wanna solve problems of script.The AutoIt doesn't show errors in any source which may got error
  9. Why i can't see if i got errors in my script? I did a format and i download the newest autoit,but i can't see if the script got errors and with that the GUI doesn't come up.
  10. Is it possible au3 can see if a process is suspend?I want make a exe and i wanna see if a process suspend.If suspend then exit. I hope it's easy
×
×
  • Create New...