Subject: bug#15058: 24.3; ftp is still broken

From: Wolfgang Jenkner <[email-masked]>
Date: Sat, 10 Aug 2013 06:14:23 +0200

On Fri, Aug 09 2013, Devon Sean McCullough wrote:

> On 2013 Aug 9, at 9:45 PM, Eli Zaretskii wrote:
>> Maybe it's a Darwin thing or something specific to your system setup.
>
> The bug seems to depend on whether /usr/bin/ftp
> re-writes certain server responses ...
>
> MacOS and Debian BUG: 	(ange-ftp-get-pwd "ftp.gnu.org" "ftp") ==> (nil . "Remote directory: /")

If this is tnftp (aka lukemftp[1]) then there's actually no server
response to report here because the client reuses a cached value and
doesn't send anything to the server at this point.  The value comes from
automatically sending a `pwd' after logging in.  You can set the `debug'
flag to observe this.

[1] ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/tnftp-20091122.tar.gz

> CentOS and Ubuntu OK: 	(ange-ftp-get-pwd "ftp.gnu.org" "ftp") ==> (t . "257 \"/\"")

Wolfgang