Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.700 and 1.701

version 1.700, 2006/01/12 21:12:55 version 1.701, 2006/01/18 21:15:41
Line 1358  sub finishuserfileupload { Line 1358  sub finishuserfileupload {
     }      }
 # Save the file  # Save the file
     {      {
  open(FH,'>'.$filepath.'/'.$file);   if (!open(FH,'>'.$filepath.'/'.$file)) {
  print FH $env{'form.'.$formname};      &logthis('Failed to create '.$filepath.'/'.$file);
       print STDERR ('Failed to create '.$filepath.'/'.$file."\n");
       return '/adm/notfound.html';
    }
    if (!print FH ($env{'form.'.$formname})) {
       &logthis('Failed to write to '.$filepath.'/'.$file);
       print STDERR ('Failed to write to '.$filepath.'/'.$file."\n");
       return '/adm/notfound.html';
    }
  close(FH);   close(FH);
     }      }
     if ($parser eq 'parse') {      if ($parser eq 'parse') {

Removed from v.1.700  
changed lines
  Added in v.1.701


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>