Page 12 of 21

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 25 Apr 2013 18:12
by binocular222
Ok, everything works fine now, thank you.

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 25 Apr 2013 18:33
by Marco
You're welcome :)

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 25 Apr 2013 23:56
by PeterH
Marco wrote:
PeterH wrote:Sorry to be a bit OT, but isn't
< ("5400" * "1")
absolutely identical to
< 5400
but the latter seems to look "a bit more easy to read"?
Ah ah yes, originally it was "3600" * "1", i.e. numbers of second in one hour times one hour. Now it should be "3600" * "1.5".
admin wrote:Yes, and why quote numbers??? :veryconfused:
I quote everything, you never can tell...
:shock: You know the rule says that strings have to be quoted?
If you quote other things - you never can tell :lol:

Yes: an exception rule says that variables are allowed to be included in double quoted strings. ($x is same as "$x")
And another exception says that a string containing numbers is treated just as a number. ("77" is same as 77)
But I think it's strange to use these exceptions (or name them syntax expansions or so) by default.

And by the way: eventually what happens you can never tell :P just try:

Code: Select all

 msg 4*2;
 msg "4*2";
I can tell: it's not the same! 8) So don't "always quote" :naughty:

(Description: 4*2 is evaluated as an expression, "4*2" is just string of 3 characters.)

Edit: sorry to have continued OT :oops:

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 10:09
by LittleBiG
-in the ini file, clear the value LastModified
-still in the ini file, raise the Delay value to something high like 4000
-then run the attached script; once it goes in stepping mode, go to the variables and paste here the last one, i.e. $command
-click Continue; a dos window will pop up, close it after 4-5 seconds and tell me if it contains any error message
No error message, but the command runs extremely long... more than a minute. :shock: However, I reach internet in a very tricky way involving VPN for a while... I have just tried with another computer it doesn't work also. I think somehow this whole thing doesn't work behind proxy server, because on my home computer there isn't any problem.

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 10:22
by binocular222
Me too, it doesn't work if internet is connected via proxy

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 11:03
by Marco
LittleBiG wrote:
-in the ini file, clear the value LastModified
-still in the ini file, raise the Delay value to something high like 4000
-then run the attached script; once it goes in stepping mode, go to the variables and paste here the last one, i.e. $command
-click Continue; a dos window will pop up, close it after 4-5 seconds and tell me if it contains any error message
No error message, but the command runs extremely long... more than a minute. :shock: However, I reach internet in a very tricky way involving VPN for a while... I have just tried with another computer it doesn't work also. I think somehow this whole thing doesn't work behind proxy server, because on my home computer there isn't any problem.
binocular222 wrote:Me too, it doesn't work if internet is connected via proxy
So you're experiencing the same problem of Filehero ( http://www.xyplorer.com/xyfc/viewtopic. ... 016#p78016 )...
I'll add a line to the first post then, SU doesn't work behind proxies...
So, just to get it right, running

Code: Select all

 html("http://www.xyplorer.com/index.php");
from XY while behind a proxy does generate a blank page?

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 11:26
by LittleBiG
Marco wrote:So, just to get it right, running

Code:
html("http://www.xyplorer.com/index.php");

from XY while behind a proxy does generate a blank page?
No! It shows the webpage of XY correctly!

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 11:48
by Marco
And this

Code: Select all

 text readurl("http://www.xyplorer.com/index.php");
?

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 11:50
by LittleBiG
Marco wrote:And this

Code: Select all

 text readurl("http://www.xyplorer.com/index.php");
?
Likewise!

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 11:53
by Marco
And yet the script doesn't work?

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 12:03
by LittleBiG
Somehow the $time_there remains empty.

EDIT: After running the line: cmd /k C:\Windows\system32\cscript.exe //nologo "C:\Users\mynamehere\Downloads\XYplorer\Data\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplor ... nstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "C:\Users\mynamehere\Downloads\XYplorer\Data\Scripts\SimpleUpdater\HTTP_response.txt" I only get an empty HTTP_response.txt. (after about 1 minute running.)

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 12:11
by Marco
Have you tried raising the Delay value to an high value, like 4000?
Do you use a firewall? Are you using a slow computer?

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 12:25
by LittleBiG
Marco wrote:ve you tried raising the Delay value to an high value, like 4000?
Sure. 150000 was the biggest I tried. Not that cuases the problem.
Marco wrote:Do you use a firewall? Are you using a slow computer?
No. It is not a slow one. A complete McAffee Endpoint Protection is installed on it.

Isn't there any alternative solution getting info into http_response.txt apart from that vbs script?

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 12:29
by Marco
LittleBiG wrote:
Marco wrote:ve you tried raising the Delay value to an high value, like 4000?
Sure. 150000 was the biggest I tried. Not that cuases the problem.
Marco wrote:Do you use a firewall? Are you using a slow computer?
No. It is not a slow one. A complete McAffee Endpoint Protection is installed on it.

Isn't there any alternative solution getting info into http_response.txt apart from that vbs script?
I could rely on one of the many sites that analyze http headers, but
-what if such sites go down/close?
-network overhead and script running time increases
Are you sure that mcafee doesn't interfere with the vbs connecting to the internet? I know my CIS warns me if that vbs connects to the internet and writes a txt file, so I whitelisted it.

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Posted: 26 Apr 2013 13:59
by LittleBiG
Marco wrote:Are you sure that mcafee doesn't interfere with the vbs connecting to the internet? I know my CIS warns me if that vbs connects to the internet and writes a txt file, so I whitelisted it.
Yes, I am sure because the problem exists on my other, completely different computer. (Other network, other OS, other security solution)
EDIT: And it works with mobile stick.