Xref: utzoo gnu.emacs.help:2407 comp.emacs:10947 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: mea@NIC.FUNET.FI (Matti Aarnio) Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: ange-ftp tips for nic.funet.fi modified FTP server? Message-ID: <91Jun23.184838eet_dst.56450@nic.funet.fi> Date: 23 Jun 91 16:48:24 GMT References: <91Jun23.063031eet_dst.56471@nic.funet.fi> Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Distribution: world Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 38 > FTP server nic.funet.fi has several modifications from normal in its > responses. These mess up the ange-ftp package's interpretation of the > responses. Anybody got simple workarounds? I tried their > "-password", but still, all the /'s in listings mess up ange-ftp. I recall ange-ftp can work with multiple responces: 250- something intermediate Some more intermediate 250 Final 250 responce This is only thing where "-password" affects. It removes intermediate replies completely. (Except in two fault cases, where next thing you experience is closed connection, or even more restricted environment..) What we are experiencing here is BSD cludge way to handle directory listings. There should be REAL PROPERLY PORTABLE STANDARD METHOD, but who defines ? (Portable: able to handle UNIX, VMS, IBM CMS,...) Following is actually a bit of history as I made small modification after receiving original letter. What ange-ftp can't handle is modified ls responces: ls bin -> bin/ls Meaning: If you don't change default directory, it will print complete (relative) paths for each file. It was (my opinion) great idea, because then I was able to "ls -lR" whole tree into a file, and grep thru it and find directory in same run. However, it broke ange-ftp... If you NOW want to test this "odd" behaviour, you need to add "-Z" into `ls' options: ftp> cd / ftp> dir "-Z bin" -> bin/compress bin/ls ... /Matti Aarnio Staff "JOAT", Postmaster (Everything, but not archive moderator)