I have a related problem. Lftp does not work with IBM's z/OS Communications Server FTP server when explicit TLS is used. If I login, then immediately issue a "dir" command, the listing fails. The problem appears to be the response to the PWD command being of the form:
257 "'XXXXXXX.'" is working directory. where XXXXXXX is the user id. If I issue a "cd /" command first, before issuing the "dir" command, it works. But of course I'm now listing the root directory of the hierarchical file system (HFS) instead of OS datasets beginning with my high-level qualifier. When using the FTP protocol (as opposed to the FTPS protocol, as described above), lftp does not issue a "PWD" command to the server under the covers, and I do get a listing of my datasets. With FTPS, the problem occurs in both passive mode (PASV) and active mode (PORT). I am using Debian etch, with lftp at version 3.5.6-1, but from this bug report it appears that the problem exists in 3.7.3-1 as well. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

