cvs commit: src/lib/libfetch fetch.3 ftp.c
Dag-Erling Smørgrav
des at des.no
Tue May 8 21:23:17 UTC 2007
Nate Lawson <nate at root.org> writes:
> BTW, is there any reason to redo the "MODE S" and "TYPE I" commands
> after MDTM?
MODE and TYPE commands are always issued before an MDTM (fetchStat*())
or RETR (fetchGet*()), because the code assumes that they can vary
from one call to another. This is true for TYPE (you can specify it
in the URL), and I chose to assume that it might also be the case for
MODE, even though it currently isn't.
(remember that the FTP code will reuse the control connection across
calls as long as the requested URLs are on the same server)
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list