On Mon, 19 Sep 2005, Steven M. Schweda wrote:
Interestingly, I've found yet another VMS FTP server variety which seems
to require a change to the CWD code so that instead of doing "CWD
abc/def/ghi" (as now), it would need to do "CWD abc", "CWD def", and "CWD
ghi", as the RFC suggests.
In project [beep] we took this route ages ago because of these two reasons:
1) the RFC says this is how to do it
2) some servers require it
The challange that we have still to fix is to write code that would first
attempt the full-path approach only to downgrade to the single-path-part
approach on failure of the first. This would be for speed reasons of course,
since CWDing into deep dir hierarchies get really slow with that loooong
series of CWD sending! ;-)
--
-=- Daniel Stenberg -=- http://daniel.haxx.se -=-
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol