--- loncom/lond 2004/08/23 11:24:45 1.234 +++ loncom/lond 2004/08/24 05:13:40 1.235 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.234 2004/08/23 11:24:45 foxr Exp $ +# $Id: lond,v 1.235 2004/08/24 05:13:40 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -57,7 +57,7 @@ my $DEBUG = 0; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.234 $'; #' stupid emacs +my $VERSION='$Revision: 1.235 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -3225,24 +3225,6 @@ sub process_request { Reply($client, "refused\n", $userinput); } -# ----------------------------------------- portfolio directory list (portls) - } elsif ($userinput =~ /^portls/) { - if(isClient) { - my ($cmd,$uname,$udom)=split(/:/,$userinput); - my $udir=propath($udom,$uname).'/userfiles/portfolio'; - my $dirLine=''; - my $dirContents=''; - if (opendir(LSDIR,$udir.'/')){ - while ($dirLine = readdir(LSDIR)){ - $dirContents = $dirContents.$dirLine.'
'; - } - } else { - $dirContents = "No directory found\n"; - } - print $client $dirContents."\n"; - } else { - Reply($client, "refused\n", $userinput); - } # -------------------------------------------------------------------------- ls } elsif ($userinput =~ /^ls/) { if(isClient) {