goatjim Posted July 11, 2014 Share Posted July 11, 2014 Local $FTPOpen = _FTP_Open('FTP') Local $FTPConn = _FTP_Connect($FTPOpen,$sServer,$sUsername,$sPass) Local $FTPTry = _FTP_FilePut($FTPConn,@ScriptDir&"\"&$a_DatesListed[$i2],"/"&$a_DatesListed[$i2]) _FTP_Close($FTPOpen) On the current version 3.3.12.0 I run my script by pressing F5, runs like a champ I compile it, and the program stops at this part in my code. the program continues to run in task manager it is sitting at 0% CPU usage no errors are given I know that it is stopping at the FTP part, because I put a message box before it, and after it. I get the first message box, but not the second. I installed the previous version the compiled version and the uncompiled version both work Link to comment Share on other sites More sharing options...
BrewManNH Posted July 11, 2014 Share Posted July 11, 2014 Which of the four lines is it stopping at? Depending on that answer, we should be able to give you a better idea of what is going wrong. Also, you should check for errors after every line in that block to see if there is a problem executing any of the 4 lines. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
kylomas Posted July 11, 2014 Share Posted July 11, 2014 goatjim, In addition to what BrewmanNH say, especially the part about error checking, is your firewall or AV software reporting anything? Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
DicatoroftheUSA Posted July 11, 2014 Share Posted July 11, 2014 I have had odd problems with _ftp_fileput especially with large files, try "_ftp_progressupload" instead. Statism is violence, Taxation is theft. Autoit Wiki Link to comment Share on other sites More sharing options...
goatjim Posted July 16, 2014 Author Share Posted July 16, 2014 sorry for the long delay I have confirmed it is the line _FTP_FilePut line is where it is pausing runs fine uncompiled, pauses if run compiled. I tried _ftp_progressupload, it pauses as well (but I may be using it wrong) potentialy this problem may not be affect all FTP servers. (I do not have access to this FTP server) potentialy there is some windows security that is biting me no AV is installed windows 7 firewall is active, but its settings are stock to get through this: I created a batch file that calls autoit3.exe, and that calls my script Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now