Jump to content

Recommended Posts

  • Developers
Posted (edited)

well ok, as you and valik have it then take it off now thanks

do 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 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.
  :)

  • Replies 45
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (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 by Rick

Who needs puzzles when we have AutoIt!!

Posted

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!!

Posted

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.

Posted

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!!

  • Developers
Posted

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.
  :)

Posted

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

That's not the point, though. You're not trying to fix the problem, you're trying to diagnose the problem.
Posted

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!!

Posted

i'm suprised no one has piped up yet with the same problem

Who needs puzzles when we have AutoIt!!

Posted (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 program

wcl_ftp.zip

Edited by Rick

Who needs puzzles when we have AutoIt!!

  • Developers
Posted

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.
  :)

Posted

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!!

Posted (edited)

whats interesting is Test1.zip is 196608 bytes

and Test2.zip is 197632 bytes very odd

Edited by Rick

Who needs puzzles when we have AutoIt!!

  • Developers
Posted

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.
  :)

  • Developers
Posted

whats interesting is Test1.zip is 196608 bytes

and Test2.zip is 197632 bytes very odd

I 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.
  :)

Posted

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
Posted

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.

I let the download finish and

test1.zip = 597 Kb

test2.zip = 220 Kb

And 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.
  :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...