f-prot autoupdate error

Tan Siew Wu siewwu.tan at EDGEMATRIX.COM
Sun Jul 7 18:24:41 IST 2002


Thanks for the Perl tip Julian.
On further check, the problems seems to be that there is a non-printable
character after the ftp download URL.  A check with vi on the tmp-web file
shows a "^M" character at the end of the download URL.

Stripping it off will fix the problem.

###########################################################
    # Download it from the server
print STDERR "xxx $Server xxx\n";
    $Server =~ s/\s*$//g;
    # maybe should strip somewhere on top first instead of here
print STDERR "xxx111 $Server xxx111\n";
    DownloadFile($Server, $FileToCheck);
###########################################################
 xxxftp://us-1.updates.f-prot.com/pub/
xxx111 ftp://us-1.updates.f-prot.com/pub/ xxx111
###########################################################



More information about the MailScanner mailing list