Mauro Tortonesi <[EMAIL PROTECTED]> writes:

> Hrvoje Niksic wrote:
>> Arne Caspari <[EMAIL PROTECTED]> writes:
>>
>> I believe that CWD is mandated by the FTP specification, but you're
>> also right that Wget should try both variants.
>
> i agree. perhaps when retrieving file A/B/F.X we should try to use:
>
> GET A/B/F.X
>
> first, then:
>
> CWD A/B
> GET F.X
>
> if the previous attempt failed, and:
>
> CWD A
> CDW B
> GET F.X
>
> as a last resort. what do you think?

That might work.  Also don't prepend the necessary prepending of $CWD
to those paths.

Reply via email to