diff --git a/exec/ftp-html.js b/exec/ftp-html.js
index be8ae345388a108dfdcfcc434584643d90c6d95d..1d7c290667ff42722b959e198eefeda1e5b379cb 100644
--- a/exec/ftp-html.js
+++ b/exec/ftp-html.js
@@ -195,7 +195,10 @@ if(file.length) {
 		/* size */
 		write("<TD valign=top align=right>" + dat_font + "<font color=black>");
 		if(curdir.misc!=undefined && !(curdir.misc&DIR_FREE)) {
-			write(kbytes(file[i].credits)); 
+			if(!file[i].credits)
+				write("<font color=white><b>FREE");
+			else
+				write(kbytes(file[i].credits)); 
 			total_bytes+=file[i].credits;
 		} else {
 			write(kbytes(file[i].size));