Re: 'ftp' command does what...?
Kirk Strauser wrote: On Tuesday 2004-06-22 01:36 pm, Chuck Swiger wrote: ftp ftp://ftp.andrew.cmu.edu ...is not a valid URL in that no path component is specified (even a trailing '/') - at least, that's my understanding of it. Try this instead: ftp ftp://ftp.andrew.cmu.edu/ which works as expected from here. Or: bash-2.05b$ ftp ftp.andrew.cmu.edu Connected to ASG2.WEB.cmu.edu. 220 asg2.web.cmu.edu FTP server (Version 6.00+Heimdal 20031031+KTH-KRB 1.3-20031030) ready. Name (ftp.andrew.cmu.edu:peter): anonymous 331 Guest login ok, type your name as password. Password: 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> Same behaviour with ftp.freebsd.org: bash-2.05b$ ftp ftp://ftp.freebsd.org [snip] 200 Type okay. 501 Syntax error in parameters. 221 Goodbye. bash-2.05b$ ftp ftp.freebsd.org [snip] 331 Guest login ok, send your complete e-mail address as password. Password: 230-You are user #78 of 450 simultaneous users allowed. 230- 230 Logged in anonymously. Remote system type is UNIX. Using binary mode to transfer files. ftp> Might have something to do with the auto-fetch part of ftp's functionality. Peter. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 'ftp' command does what...?
On Tuesday 2004-06-22 01:36 pm, Chuck Swiger wrote: > ftp ftp://ftp.andrew.cmu.edu ...is not a valid URL in that no path component is specified (even a trailing '/') - at least, that's my understanding of it. Try this instead: ftp ftp://ftp.andrew.cmu.edu/ which works as expected from here. -- Kirk Strauser pgpkw371ye9PW.pgp Description: signature
'ftp' command does what...?
Hi, all-- Is there a reason why the ftp command does odd things when presented with the URL format on this particular FTP server? 5-epia% ftp ftp://ftp.andrew.cmu.edu Connected to ASG2.WEB.cmu.edu. 220 asg2.web.cmu.edu FTP server (Version 6.00+Heimdal 20031031+KTH-KRB 1.3-20031 030) ready. 331 Guest login ok, type your name as password. 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 500 'CWD ': command not understood. CWD command not recognized, trying XCWD. 500 'XCWD ': command not understood. ftp: The `CWD ' command (without a directory), which is required by RFC 1738 to support the empty directory in the URL pathname (`//'), conflicts with the server's conformance to RFC 959. Try the same URL without the `//' in the URL pathname. 221 Goodbye. 6-epia% uname -a FreeBSD epia.pkix.net 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun May 9 04:56:46 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EPIA i386 Hmph. I suspect that handling an FTP URL without any URI portion past the hostname ought to do the same thing as "ftp hostname". -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"