On Thu, Dec 13, 2001 at 04:07:08PM -0500, Glenn Maynard wrote:
> 03:55pm [EMAIL PROTECTED]/6 [~/lftp/src] ./lftp http://www.google.com
> cd ok, cwd=/
> lftp www.google.com:/> cls
> 3.html  about.html  ads/  advanced_search  images/  language_tools
> news/  preferences  services/
> lftp www.google.com:/> cd advanced_search
> cd: Access failed: 404 Not Found (/advanced_search)
> lftp www.google.com:/> cd services/
> cd ok, cwd=/services
> lftp www.google.com:/services> cls
> chart1.gif  chart2.gif  custom.html  customsitesearch.html  free.html
> silver_gold.html  site_compare.html  web_compare.html
>
> I don't think there's any reason I shouldn't be able to cd to any of
> these, since they're all just links.

But some of these are links to directories. Directories are different,
since a trailing slash should be added in http request. I was thinking
about a flag cwd_is_file, but has not implemented that yet.

--
   Alexander.

Reply via email to