dan@uunet.uu.net (Dan Mick) (10/08/89)
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...