Dan_Jacobson@ATT.COM (06/23/91)
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.
mea@NIC.FUNET.FI (Matti Aarnio) (06/23/91)
> 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 <mea@nic.funet.fi> Staff "JOAT", Postmaster (Everything, but not archive moderator)