Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2007 23:23:12 +0200
From:      des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=)
To:        Nate Lawson <nate@root.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libfetch fetch.3 ftp.c
Message-ID:  <86lkfzm2m7.fsf@dwp.des.no>
In-Reply-To: <4640D8AA.40101@root.org> (Nate Lawson's message of "Tue, 08 May 2007 13:08:10 -0700")
References:  <200704222233.l3MMXUKH045452@repoman.freebsd.org> <86abwzio7t.fsf@dwp.des.no> <462CD3FD.6080300@root.org> <86tzurqp4d.fsf@dwp.des.no> <864pmn5lvd.fsf@dwp.des.no> <4640D8AA.40101@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson <nate@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lkfzm2m7.fsf>