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 ?