> From: Dave_Raggett <dsr@hplb.hpl.hp.com>
> Subject: X Mosaic, FTP and PASV
>
> I found it easier than expected to patch X Mosaic to use the PASV
> command and would like to make the new version of HTFTP.c available
> to others.
Your PASV code is great! It gets rid of all of the AT&T firewall patches
from HTFTP.c and it considerably simplifies even the non-firewall
version of the code.
Assuming that we don't run across ftp servers without PASV support
then you have my vote to include this code in vanilla Mosaic.
> At the same I changed it over to display a conventional
> directory listing so that users can see the file permissions and
> size. This is done in a robust way and should be at least as robust
> as the previous code. In place of the icons it now shows a trailing
> character at the end of the file name with "/" for directories,
> "@" for links and "*" for executables.
I like seeing the file sizes, but I also liked the icons in the
previous version. What would you think about just adding file sizes
to the the icon version? The only other information ls provides is
file owner but I don't see that as very useful in an anonymous ftp
situation.
At the moment the ftp listing lines are too long to fit on Mosaic's
default window size and font, and the <pre> formatting is not
pleasing to the eye.
I'm not trying to start a war of the icons. If there are strong
feelings about them then I'll stay out of the way. Otherwise
I'll be pleased to code up a merged icon + file size version
this weekend for folks to try, based on Dave's code.
John Ellson
AT&T Bell Labs