mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 58
S
stimpy Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
Hello everyone,

I've been trying to make an update script for the IRC-Script i'm working on.
I wasn't really trained in using sockets before i started building it, and now 2 months later, and reading and learning allot, i finaly gave up.
ussualy i try al the scripts i make without any help from this forum, but this time i just can't go around it.

What i want to do, is check with a version.txt on the webserver if there is a newer version.
(This part works)
Then i want it to download the given .ZIP file.
(This is where it goes wrong)

I've first tried to do it myself, but it just takes to much knowledge of sockets and i just don't have that.
So i tried to learn it from the update scripts that are on this forum, but they just don't want to work.
Some just make the .zip file a corrupt file, while others just can't find the file...
Even after looking into the server statistics, it gives the info that someone tried to reach the file, but the scripts say they can't find it.

Can someone help me with this ?

Thanks

Tim


***************************
To chat, or not to chat.
That's the question
Joined: Sep 2003
Posts: 58
S
stimpy Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
Just for the record...

The only thing this script needs to do is download a specific file found in the $update.file , the server is found in $update.server , and path to the file is found in $update.path
Example :
$update.server = http://web.stirc.nl
$update.path = /updates/
$update.file = update-1002.zip

That's about all blush)

Thanks Again

Grtzz


***************************
To chat, or not to chat.
That's the question
Joined: Sep 2003
Posts: 58
S
stimpy Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
never mind...

Got one of the scripts working.

On of the script King Tomato post on this forum in december 2003 worked, but made every file i downloaden a index.htm
I now have a /rename in the script and rename eg.
index.htm to download.zip
then the files are perfect...

Hope they will stay perfect since i only tried it with 6kb sized files

Thanks King Tomato...

Grtzz


***************************
To chat, or not to chat.
That's the question

Link Copied to Clipboard