Search Tools Links Login

PSC Multi-Downloader


Visual Basic 6, or VB Classic

Written by: Troy Williams
Email: fenris@hotmail.com


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="https://www.fortypoundhead.com/user_article_list.asp?uid=513">ArchiveBot</a><br /> <b>Viewed:</b> 100 times </p> <p class="colheader">Categories</p> <p><a href="https://www.fortypoundhead.com/browse.asp?catid=149">Visual Basic 6</a></p> <p class="colheader">Attachments</p> <p> <a href="https://www.fortypoundhead.com/ucode/PSC_Multi-53447262002.zip">PSC_Multi-53447262002.zip</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="https://www.fortypoundhead.com/catbrowse.asp">Categories</a> <a href="https://www.fortypoundhead.com/terms.asp">Terms of Use</a> <a href="https://www.fortypoundhead.com/privacy.asp">Privacy Policy</a> <a href="https://www.fortypoundhead.com/disclaimer.asp">Disclaimer</a> <a href="https://www.fortypoundhead.com/contact.asp">Contact</a> </p> <p>18,354,059 visitors as of 2024-07-26 19:20:28</p> </div> <script type="text/javascript" src="https://www.termsfeed.com/public/cookie-consent/4.1.0/cookie-consent.js" charset="UTF-8"></script> <script type="text/javascript" charset="UTF-8"> document.addEventListener('DOMContentLoaded', function () { cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"en","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false,"page_refresh_confirmation_buttons":false,"website_name":"Forty Pound Head","website_privacy_policy_url":"https://www.fortypoundhead.com/privacy.asp"}); }); </script> <!-- fphga --> <script type="text/plain" data-cookie-consent="tracking" async src="https://www.googletagmanager.com/gtag/js?id=G-2WN4Z0LJLS"></script> <script type="text/plain" data-cookie-consent="tracking"> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-2WN4Z0LJLS'); </script> <!-- end of fphga--> </body> </html>