X Mosaic, FTP and PASV

Dave_Raggett (dsr@hplb.hpl.hp.com)
Thu, 2 Dec 93 16:28:51 GMT


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. 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.

The new version works with my opensubnet gateway so those of you
working behind firewalls will now be able to FTP outside. Right now
Mosaic logs into the FTP server afresh each time you click on the
directory listing - further work is needed to keep the control
connection open, but this needs hooks into other part of Mosaic
and I will need NCSA's help.

You can get the sources from:

ftp://15.254.100.100/pub/subnet.tar.Z

Best wishes,

Dave Raggett