Important alert: (current site time 7/16/2013 10:02:05 AM EDT)
 

winzip icon

Version 2 - FTP, HTTP, Servers and much more written in VB.Net

Email
Submitted on: 3/8/2004 8:45:45 PM
By: Voidrealms.com 
Level: Intermediate
User Rating: By 30 Users
Compatibility: VB.NET
Views: 14711
author picture
(About the author)
 
     NEW VERSION of the award winning code...This download contains a base class and extended classes for multiple server types, the demos include HTTP Server, FTP Server, Time Server, Echo Server, Telnet Server, and a custom server. The base server class is very easy to work with and extend. The source is in VB.Net. Please READ the readme.html file included before you try and run the demos (there may be some bugs or limitations). This new version is now Multi-Threaded (no more async calls), with many improvments and bug fixes...And as always PLEASE VOTE AND COMMENT.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 7 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
3/9/2004 10:58:08 AM

The original was cool - but this just plain kicks butt! Going to use this in a custom file server I am making - 5 stars from me - any plans to add pop3 and smtp servers?
(If this comment was disrespectful, please report it.)

 
3/24/2004 12:37:41 AMd1rtyw0rm

This is an exemple about a fu*'n good programmer, we need a man like that in our enterprise ;)

Another 5 stars from me

YOU ROCK
(If this comment was disrespectful, please report it.)

 
5/24/2004 5:07:53 PMRoss Peoples

Holly Cow. This is the second thing I've downloaded from you and in my opinion, you are definatly an elite. I have been looking for good server code for a week now and I finally found it. Keep the good stuff coming!
(If this comment was disrespectful, please report it.)

 
6/3/2004 12:40:46 PMVagelis

Great code. However, I cannot figure out how to handle an http file upload. Can you give me a clew?
(If this comment was disrespectful, please report it.)

 
8/19/2004 5:22:23 AM

Waah.. honestly.. i dont believe it.. is this one man show?.. i am really impressed.. 5 stars from me and just way to good.. how you use your brain? i wonder? How much time spend for that?
(If this comment was disrespectful, please report it.)

 
8/26/2004 6:43:37 AM

SWEEEEET!!!!
ok, where do we send donations, heh

Wondering how long this took you ?
This is by far the most helpful thing I have downloaded from PSC

5 Stars from me.
(If this comment was disrespectful, please report it.)

 
8/26/2004 9:38:59 PMbastawhiz

Excellent code. Superior use of coding standards. I previously used version 1 for my gaming server, and was thoroughly impressed with its abilities. I am once again amazed at its simplicity and ability its perform.

Great programming and 5 globes from me.
(If this comment was disrespectful, please report it.)

 
10/7/2004 9:45:12 PM

Thank you so much this is just what i need for my bitTorrent program im working on! i was just about to write a FTP server but now i dont have to! this one is perfect! Again thank you!
(If this comment was disrespectful, please report it.)

 
1/14/2005 12:50:19 AM

This is much more than a great work all stars from me....
(If this comment was disrespectful, please report it.)

 
2/7/2005 12:18:29 AMDace Shandon

Nice code - saved me a lot of time on a project. Thanks for contributing
(If this comment was disrespectful, please report it.)

 
2/19/2005 1:47:33 AM

It's very good
(If this comment was disrespectful, please report it.)

 
3/6/2005 1:34:28 PM

We're not worthy...
(If this comment was disrespectful, please report it.)

 
4/5/2005 1:02:45 AM

AWESOME....
(If this comment was disrespectful, please report it.)

 
5/26/2005 11:03:55 PMAlbert

did a good job ! saved me a lot of time ...
(If this comment was disrespectful, please report it.)

 
5/31/2005 12:02:48 PM

FYI, This code has a HUGE but in it that if you type in ............. or any thing with "\", "/" ".." you can get root access to the machine. Big flaw.
(If this comment was disrespectful, please report it.)

 
7/1/2005 11:55:21 AM

hi this is awesome work
but maybe some
one know why
TFTPClient.IP or
aFTPSTRUCT.IP never containt the client
ip that actually connected to the
server? it is empty
if anyone knows
plz write me email
dima1236@gmail.com
i will be very
greatfull
(If this comment was disrespectful, please report it.)

 
8/8/2005 7:21:26 AMJan Vergouwe

Even though this code was submitted a long time ago... having a tiny problem getting a clean client disconnect from the telnet server (server reports disconnect, but client hangs forever), Using Windows telnet (command line) as client.

Other than that... Nice clean code!!
(If this comment was disrespectful, please report it.)

 
11/11/2005 8:29:03 AMJames Wink

I like what I am seeing... Thanks for the insite, we are looking at using this to stress test a custom protocol on our phone dialer system.

Thanks for the example.
(If this comment was disrespectful, please report it.)

 
2/25/2006 10:40:11 AMJohn C. H. Fricker

I tried this but when I dir, any files with a - don't show properly... ideas?
(If this comment was disrespectful, please report it.)

 
12/4/2006 12:13:34 PMNabo

Very cool. Is there a code for passive-mode ftp-server?

Thanks very much...
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.