APM: Perl FTP server

Wayne Walker wwalker at bybent.com
Fri Dec 2 10:35:42 PST 2005


perl -MCPAN -e 'install Net::FTPSrerver'

Development time, 5 minutes :)

On Fri, Dec 02, 2005 at 12:20:00PM -0600, Fluhmann, Jeremy wrote:
> 
>    Ok, maybe I haven’t been able to think through this, but here is what I’m
>    looking at:
> 
> 
>    My department hosts 400+ web sites for our student organizations.  Some
>    sites run on a Windows Server 2003 box w/ IIS 6.0, while the others run on a
>    Windows 2000 Server box w/ IIS 5.1.  They will be consolidating soon to
>    2003/IIS 6.0.
> 
>    Every semester, several students come by, call, and e-mail saying, “We
>    don’t know our FTP username/password”.  The information is never passed
>    along.  I get tired of resetting passwords.
> 
> 
>    What I want to experiment with is this:
> 
>    All students have a university login.  I can write web applications that can
>    use this login for authentication (via CAS or LDAP).  I want to allow the
>    President  of  each  organization  to be able to add student logins as
>    webmasters for their site.  The student's login is stored in a database, as
>    well as each site that they can manage (some students are webmasters for
>    several groups).  I can already do all of this.
> 
> 
>    I want to be able to have these users use their student login to connect via
>    FTP.  I only want the folders for which they have access to be displayed
>    (using the information stored in the database).
> 
> 
>    I welcome any comments, suggestions, or criticisms that anyone has.  I
>    thought about trying to write my own FTP server.  I acknowledge that I need
>    to do some research on FTP server, since I'm not exaclty sure if I could
>    modify it to work like I want.  Since I'm fairly comfortable with Perl, can
>    anyone  point me to resources for writing an FTP server in Perl?  Also
>    remember, I am currently on a Windows box.  I have a linux test server
>    running FC4 if suggestions are provided for a linux solution.  I've been
>    able to successfully map windows folders from my web server to the linux
>    box, but the permissions are confusing me a little.  My boss prefers to keep
>    everything running on the windows boxes.
> 
> 
>    Thanks,
> 
>    Jeremy
> 
>    Jeremy Fluhmann
> 
>    Microcomputer Specialist
> 
>    Department of Student Activities
> 
>    Texas A&M University
> 
>    979-458-4649
> 
>    jeremy at stuact.tamu.edu

> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin

-- 

Wayne Walker

www.unwiredbuyer.com - when you just can't be by the computer

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net


More information about the Austin mailing list