[EMAIL PROTECTED] (Andrew
M. Bishop) writes:

>>I think it would be better to translate 'no such file or directory'
>>from the ftp server into a 404 Not Found, or at least a 5xx WWWOFFLE
>>File Not Found.

>In the FTP specification it says that the error code for this is 550.
>
>        550 Requested action not taken.
>             File unavailable (e.g., file not found, no access).

I assume this is an FTP error code of 550, which doesn't translate to
an http response 550...

>The error back from the FTP server *should* contain a textual error
>message that explains the reason for the failure.  The standard error
>page that WWWOFFLE uses for an FTP server that sends a negative
>response is the "Remote Host Error" page with the text of the error
>message which at least adds some consistency.

If you don't think it is worth the effort of parsing the message from
the FTP server then fair enough.

-- 
Ed Avis <[EMAIL PROTECTED]>


Reply via email to