Oops, here is a further patch that corrects the ftp directory listings
on some servers.

Problem: if the ftp server actually accepted the -g part of LIST -lag
then the resulting list would be readable but the links would be
corrupt.

I took out the -g flag so the lists are consistent.

There should be two patches in this change request. Apply the original
patch first.

Darrin


*** proxy_ftp.c.old     Fri Nov 19 13:42:09 1999
--- proxy_ftp.c Fri Nov 19 13:42:39 1999
***************
*** 1055,1061 ****
        if (len != 0)
            ap_bvputs(f, "LIST ", path, CRLF, NULL);
        else
!           ap_bputs("LIST -lag" CRLF, f);
        Explain1("FTP: LIST %s", (len == 0 ? "" : path));
      }
      else {
--- 1055,1065 ----
        if (len != 0)
            ap_bvputs(f, "LIST ", path, CRLF, NULL);
        else
!         /* DT - changed from -lag to la */
!         /* sometimes leaving out group info is really */
!         /* confusing to send_dir, since it doesn't */
!         /* always work */
!           ap_bputs("LIST -la" CRLF, f); 
        Explain1("FTP: LIST %s", (len == 0 ? "" : path));
      }
      else {


[EMAIL PROTECTED] wrote:
> 
> Thank you very much for your problem report.
> It has the internal identification `mod_proxy/5331'.
> The individual assigned to look at your
> report is: apache.
> 
> >Category:       mod_proxy
> >Responsible:    apache
> >Synopsis:       Fix for ftp directory listing problems involving spaces.
> >Arrival-Date:   Thu Nov 18 00:20:05 PST 1999

Reply via email to