Search Tools Links Login

PSC Multi-Downloader

Written by: Troy Williams

First off, the most of the code is original. The rest of the code has been
put to gether from various sources around the internet including PSC. So if you recognize code that you wrote
I will be more then happy to put your name to the code.

This program is designed to download source code from PSC..
- It is capable of downloading up to six files at the same time(well actually, the number is virtually unlimited, but more then 4 or 5 will piss PSC off. I found that 2 gives good results).
- It supports cut and pasting of urls, as well as drag and dropping urls.
I wrote this program because my home computer (win XP pro) could not access the PSC site for some reason.
I was receiving the code of the day newsletter, in which were the links to that days uploads.
So I put two and two together and wrote an app to download the files.
Along the way I discovered a number of interesting things. The urls in the newsletters are redirect links
So I developed a way to follow the redirect links. The program has a number of interesting features as well.
The urls to download are stored in a listbox, which basically acts like a que. This allows multiple winsock controls to download different files
When a valid download url is found (i.e. the normal sourcecode download page) it copies the html to a directory named for the of the webpage. <br /> This allows for a description of the code to be saved along with the zip file. <br /> Also the html and file headers are saved in that directory as well as a *.url file with the download url. <br /> <br /> <br /> The program also logs urls that caused problems to a log window, which allows the log to be written to disk. <br /> The Url list can be saved to a file as well. <br /> <br /> <br /> To use the program.... <br /> Start up the program, either from the ide or from a full compile. <br /> Select options from the menu and locate the directory where you want to download the files to, also enter the number of simultaneous downloads you want to have. <br /> Goto File/New Downloads <br /> An URL List window will popup, simply copy and past (or drag and drop) the urls into the listbox <br /> When you are ready to begin downloading, click on the download button <br /></p><p><b>Original Author:</b> Troy Williams</p><h3>Side Effects</h3><p>I have test the program out on win XP and win NT and it seems to work fine. There may be a problem when the "threads" try and grab the same download link. I have only encountered this behavior once in my testing.</p> </div> <div class="box25"> <p class="colheader">About this post</p> <p> <b>Posted:</b> 2002-06-01<br /> <b>By:</b> <a href="">ArchiveBot</a><br /> <b>Viewed:</b> 80 times </p> <p class="colheader">Categories</p> <p><a href="">Visual Basic 6</a></p> <p class="colheader">Attachments</p> <p> <a href=""></a><br /> <b>Posted:</b> 9/3/2020 3:45:00 PM<br /> <b>Size:</b> 33,341 bytes </p> </div> <div class="clearfix"></div> <div class="box100"> </div> <div class="clearfix"></div> <hr /> <div class="box100"> <div class="info" id="commentwarn"> <p>Loading Comments ...</p> </div> <h2>Comments</h2> <p>No comments have been added for this post.</p> <p><i>You must be logged in to make a comment.</i></p> </div> <div class="clearfix"></div> <script> document.getElementById("commentwarn").style.display = "none"; </script> </div> <div id="footer"> <p> <a href="">Categories</a> <a href="">Terms of Use</a> <a href="">Privacy Policy</a> <a href="">Disclaimer</a> <a href="">Contact</a> </p> <p>17,586,379 visitors as of 2024-02-21 07:08:06</p> </div> </body> </html>