Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: dsi!dan@uunet.uu.net (Dan Mick) Newsgroups: comp.sys.sun Subject: FTP bug in SunOS 3.2? Message-ID: <2013@brazos.Rice.edu> Date: 7 Oct 89 23:24:23 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 13 Keywords: Software Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 156, message 13 of 21 According to the FTP RFC, NLST requests (for lists of names, either for ls or for mget) are fulfilled by sending a list of filenames, one per line, terminated by either \r\n or \n. We're using NCSA Telnet for PCs, and it sends the list with \r\n; we end up with files that have an appended CR after the filename (shows up in an ls listing as "file.c?") whenever we do mget from ftp on the sun to a PC server. Is this a bug in SunOS 3.2's ftp that's known? Removing the \r makes the mget work, but makes ls from NCSA PC to NCSA PC print out badly, as it just dumps the input; I suppose that should be fixed to correspond with the RFC, too, but that's immaterial, really...