多用户的ftp服务端程序.zip

  • PUDN用户
    了解作者
  • Visual Basic
    开发工具
  • 79KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 87
    下载次数
  • 2005-08-30 02:01
    上传日期
一个很好用的多用户的ftp服务端程序,用vb编写的。功能很强
多用户的ftp服务端程序.zip
  • ReadMe.txt
    3.2KB
  • Profiles.bas
    4.5KB
  • www.pudn.com.txt
    218B
  • burro.ini
    319B
  • Burro.vbp
    1023B
  • Burro.vbw
    470B
  • FindFolder.frm
    3.6KB
  • VBSOCK.BAS
    30KB
  • MSSCCPRJ.SCC
    192B
  • FindFolder.frx
    4B
  • Balk.cls
    2KB
  • WindProc.bas
    37.7KB
  • Winsock.bas
    12.4KB
  • UserOpts.frm
    13.6KB
  • frmProcess.frm
    564B
  • FTPServ.ico
    3.1KB
  • UserOpts.frx
    8B
  • burro.exe
    144KB
  • FndFile.bas
    3.1KB
  • AddEditDir.frm
    2.1KB
  • frmFtp.frm
    5.3KB
  • MainApp.cls
    2.8KB
  • Read Me.txt
    32B
  • frmFtp.frx
    782B
内容介绍
Here is the skinny on this FTP server. This is the only true multiuser FTP server available on Planet Source Code. Some of the other examples did a fine job handling winsock commands but failed at providing multitasking. The result was while a file was being transfered every other activity was blocked. This code creates a separate thread for each logged on client and makes sure incoming requests are not blocked. Since the VB6 development environment can not handle multiple threads, you must compile the program and run the executable in order to take advantage to it's multithreaded capabilities. The threads also increased performance. For example initially on our 100 base T network file downloads averaged about 10k a second because a timer (set to 5 ms) was used to push the blocks out. On a separate thread we increased the transfer speed to up to 2000 k per second or better. Our need was for a basic file transfer engine and not necessarily a full blown ftp server. We have implemented most of the major ftp commands except for PASV. If anyone does this we would appreciate the code. We basically ignored most of the setup, security, logging, and user interface elements of the project because they weren't important to us. It really needs some work on the security interface(it doesn't work at all, you have to edit the burro.ini file directly to grant/deny privileges to a directory. Could also change it to give a client a home directory with access to anything lower in the directory structure, but nothing above his home directory. Another thing that would be important in a complete FTP server would be a process that keeps track of each clients idle time and logs off the laggards. I guess this project could qualified as advanced since it engulfs both winsocks and threads. It is not a tutorial and is not commented as a teaching tool. You are own your own and it is yours to do with as you want. No warranty, no support, no consulting. Basically the main thread listens on port 21, receives all messages for the server through the hidden form frmProcess, handles logon and disconnect functions directly and passes all other ftp commands to the object it creates (Jenny of class Balk) for each client. Each Jenny runs on a separate thread. Every command sent to the client object is delayed by a timer function that gives control back to the main thread before the command is executed. When the client logs off the object and it's thread are destroyed. All the testing done was with the ftp client that comes with Windows NT 4.0. Some of our names are whimiscal and unprofessional. We call the project Burro because initially the analogy was it's a beast of burden for moving packets around. The analogy still works because the code was stubborn to get working. After we got the threading working it still worked because it was really hauling ass. A Jenny is a type of burro. Goofy stuff so change it before you show it off to the a pointy haired boss. Have fun with this it is great way to learn about the nuances of winsocks and threads. This project modified Jay Bray's (another inspiration for the burro analogy) ftp server. Most of the multitasking code came straight out of VB Books Online. troyston@paperlessnow.com
评论
  • prairiewolf11 2009-02-10 13:25:44
    根本不能用
相关推荐
  • ftpserver ftp server
    不到1M的FTP server,支持好多功能,自定义端口 用户 文件夹,支持虚拟目录,多个目录等,功能非常强大!!!!!!!!!!!!!!!!!!!!!!!!!!
  • ftpserver
    很不错的,方便、快捷!试试吧
  • ftp server ftp
    用于搭建ftp服务器,一款“傻瓜式”的软件
  • ftp server
    一个小巧好用ftp服务器,绝对傻瓜软件,打开即可使用,如果想跟 别人传个东西,而又不想安装和设置复杂的FTP服务器,用它最合适 不过了!软件大小:20K。
  • ftp server
    您是否在寻找一款小巧玲珑;功能强大的免费 FTP ... 而 Home FTP Server 就是一个简单易用的 FTP 服务器, 它让您直接从您的电脑与他人分享档案成为可能。 您可以设置用户账户,指定许可目录和监控进入的个人档案。
  • ftp server
    非常实用ftp server 自动设置ftp端口 ip 为其他用户提供ftp服务
  • uclinux ftp ftpserver 服务器
    易于在arm开发中搭建 主机与目标板的通讯
  • ftpserver ftpserver
    ftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserverftpserver
  • FtpServer FtpServer
    FtpServer FtpServer FtpServer FtpServer FtpServer
  • ftp server ftp client
    ftp服务器和客户端是上传文件的必需品,使用ftp服务器客户端更方便,便捷。