Developers Jos Posted May 27, 2006 Developers Posted May 27, 2006 (edited) well ok, as you and valik have it then take it off now thanksdo you reckon its something to do with XP Home?Cannot imagine that XPhome is the issue... Any software running that does something with downloads like proxy/caching/AntiVirus etc ? Edited May 27, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Rick Posted May 27, 2006 Author Posted May 27, 2006 (edited) i have Norton antivirus2005, altho i still cant see why you and Valik and run it succesfully and i cant It's all very frustrating Edited May 27, 2006 by Rick Who needs puzzles when we have AutoIt!!
Rick Posted May 27, 2006 Author Posted May 27, 2006 well i have to say i've spent too many hours trying why it isnt working for me, especially as all three of us are working with the same script. i'ts doing me head in. Any idea's guys? Who needs puzzles when we have AutoIt!!
Valik Posted May 27, 2006 Posted May 27, 2006 Did you try what I mentioned in another thread about specifying your IP and computer's name in the hosts file on the system running the server? That's how I discovered an underlying problem with my home network. I have my router set up so I can log into it using SSH. SSH was taking > 10 seconds and I could not figure out why. Searching the internet I found advice that maybe the DNS lookup the router was doing on my connection was failing. Once I added the IP and name of my PC to the hosts file on my router, SSH connections took < 1 second like one would expect. From there, I completely re-did how my network was set up and in the process I resolved several problems I was having. The slow SSH connection was just a sign that there were network problems. The FTP problem you are having may be a sign you, too, have network problems.
Rick Posted May 27, 2006 Author Posted May 27, 2006 maybe i should look into it, altho like i stated before i wouldnt know the i.p. address of the person connecting to the server Who needs puzzles when we have AutoIt!!
Rick Posted May 27, 2006 Author Posted May 27, 2006 um, excuse my ignorance but what does SSH stand for? Who needs puzzles when we have AutoIt!!
Developers Jos Posted May 27, 2006 Developers Posted May 27, 2006 um, excuse my ignorance but what does SSH stand for?SSH - Secure Shell is a standard Internet protocol & software. Used for securely getting access to a remote computer. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Valik Posted May 27, 2006 Posted May 27, 2006 maybe i should look into it, altho like i stated before i wouldnt know the i.p. address of the person connecting to the serverThat's not the point, though. You're not trying to fix the problem, you're trying to diagnose the problem.
Rick Posted May 27, 2006 Author Posted May 27, 2006 That's not the point, though. You're not trying to fix the problem, you're trying to diagnose the problem. to which i've yet to find an answer ho hum Who needs puzzles when we have AutoIt!!
Rick Posted May 27, 2006 Author Posted May 27, 2006 i'm suprised no one has piped up yet with the same problem Who needs puzzles when we have AutoIt!!
Rick Posted May 29, 2006 Author Posted May 29, 2006 (edited) having done a bit of testing i'd like your thoughts on this.... cos Abort using 'wcl_ftp.exe'' works, as it should, if only abort in Inetget did the same Runwait('wcl_ftp.exe Hello 212.56.49.162 test test / Test1.zip Test1.zip get 1 0 0 0 0',"") attached is 'wcl_ftp.exe' your thoughts would be appreciated, as i would prefer to use AutoIt than an external programwcl_ftp.zip Edited May 29, 2006 by Rick Who needs puzzles when we have AutoIt!!
Developers Jos Posted May 30, 2006 Developers Posted May 30, 2006 Rick, Could you try the below script and post the result? ; your userid/password and $url1 , $url2 of the previous test go before this line. ConsoleWrite(@SEC & " Get filesize 1" & @lf) $siz = InetGetSize("FTP://" & $userid & ":" & $psw & "@" & $url1) ConsoleWrite(@SEC & " End InetGetSize 1 :" & $siz & @lf) ; ConsoleWrite(@SEC & " Start Download 1" & @lf) InetGet("FTP://" & $userid & ":" & $psw & "@" & $url1, "test1.zip", 1, 1) Sleep(3000) ConsoleWrite(@SEC & " Start Abort 1" & @lf) InetGet("abort") ConsoleWrite(@SEC & " End Download 1" & @lf) ; ; ConsoleWrite(@SEC & " Get filesize 2" & @lf) $siz = InetGetSize("FTP://" & $userid & ":" & $psw & "@" & $url2) ConsoleWrite(@SEC & " End InetGetSize 2 :" & $siz & @lf) ; ConsoleWrite(@SEC & " Start Download 2" & @lf) InetGet("FTP://" & $userid & ":" & $psw & "@" & $url2, "test2.zip", 1, 1) Sleep(3000) ConsoleWrite(@SEC & " Start Abort 2" & @lf) InetGet("abort") ConsoleWrite(@SEC & " End Download 2" & @lf) ; SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Rick Posted May 30, 2006 Author Posted May 30, 2006 ok, give me 2 minutes Who needs puzzles when we have AutoIt!!
Rick Posted May 30, 2006 Author Posted May 30, 2006 there ya go........... 42 Get filesize 1 53 End InetGetSize 1 :4294967295 53 Start Download 1 56 Start Abort 1 31 End Download 1 31 Get filesize 2 42 End InetGetSize 2 :4294967295 42 Start Download 2 45 Start Abort 2 46 End Download 2 >AutoIT3.exe ended. >Exit code: 0 Time: 482.255 Who needs puzzles when we have AutoIt!!
Rick Posted May 30, 2006 Author Posted May 30, 2006 (edited) whats interesting is Test1.zip is 196608 bytes and Test2.zip is 197632 bytes very odd Edited May 30, 2006 by Rick Who needs puzzles when we have AutoIt!!
Developers Jos Posted May 30, 2006 Developers Posted May 30, 2006 So both InetGetSize() and the InetGetFile("Abort") seem to hang for you. these are mine results: 31 Get filesize 1 31 End InetGetSize 1 :4294967295 31 Start Download 1 34 Start Abort 1 35 End Download 1 35 Get filesize 2 35 End InetGetSize 2 :4294967295 35 Start Download 2 38 Start Abort 2 38 End Download 2 Its difficult to debug when we cannot duplicate your problem .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Rick Posted May 30, 2006 Author Posted May 30, 2006 and the odd filesizes returned?? Who needs puzzles when we have AutoIt!!
Developers Jos Posted May 30, 2006 Developers Posted May 30, 2006 whats interesting is Test1.zip is 196608 bytesand Test2.zip is 197632 bytes very oddI get the same filesize as your test.You are sure you are not using some sort of Caching Proxy server to access the Internet ?Should be defined in IE/Tools/Internet setting/Network/Lan Settings. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Rick Posted May 30, 2006 Author Posted May 30, 2006 nope, nothing ticked its odd you also are receiving incorrect filesize to, altho ive just done a check of our server (various folders) and cannot find anything 4294967295 in size. Who needs puzzles when we have AutoIt!!
Developers Jos Posted May 30, 2006 Developers Posted May 30, 2006 nope, nothing tickedits odd you also are receiving incorrect filesize to, altho ive just done a check of our server (various folders) and cannot find anything 4294967295 in size.I let the download finish and test1.zip = 597 Kbtest2.zip = 220 KbAnd both ZIP files are corrupted ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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