;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: downloads.cl,v 1.6 2002/09/16 03:35:27 kevin Exp $
+;;;; $Id: downloads.cl,v 1.7 2002/09/16 03:43:44 kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
:type (pathname-type file))))
(ftp-name (strip-ftp-base file))
(sig-path (concatenate 'string (namestring file) ".asc")))
- (when basename
+ (when (plusp (length basename))
(with-open-file (strm file :direction :input)
(setq size (round (/ (file-length strm) 1024))))
(lml-print "<a href=\"~A~A\">~A</a>" *ftp-url* ftp-name basename)