Hello Daniel,

Thanks for the suggestion.   I had also tried using the quote command
to send a LIST and NLST command which the main frame (via quote help)
says it supports.   But I did try your suggestion (excerpted below)
and got the same "no data set error" type messages.  I tried the steps
below both with passive mode on and off, and with list-empty-ok set to
yes, true, false, and off - just to be sure.  I only include one
sample since the results were identical.   One new thing that came up
is that when I went to change the mode after having conducted the
tests below, I got a quote mismatch error:
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP> ls
---> CWD 'AAFTPA.'/PD.ABCFILES.FTP
<--- 501 Mismatched quotes on directory name "'AAFTPA.'/PD.CABCFILES.FTP".
ls: Access failed: 501 Mismatched quotes on directory  ame
"'CBFTPU.'/PD.ABCFILES.FTP"

My guess is either that translation between Unix and mainframe is not
working corectly or I have to do something about the quoting.   cd
only works if I put the name in single quotes.

thanks,

Bloom.

lftp 1.2.3.4:~> user aaftpa
Password:
lftp [EMAIL PROTECTED]:~> set ftp:list-empty-ok yes
lftp [EMAIL PROTECTED]:~> debug 9
lftp [EMAIL PROTECTED]:~> cd 'PD.ABCFILES.FTP'
---- Connecting to 1.2.3.4 (1.2.3.4) port 21
<--- 220-FTPSERVE IBM FTP CS V1R7 at MVSSY99.ABCDEFGH.COM, 22:45:08 on
2007-06-04.
<--- 220 Connection will close if idle for more than 1440 minutes.
---> FEAT
<--- 211 no Extensions supported
---> USER aaftpa
<--- 331 Send password please.
---> PASS XXXX
<--- 230 AAFTPA is logged on.  Working directory is "AAFTPA.".
---> PWD
<--- 257 "'AAFTPA.'" is working directory.
---> CWD PD.ABCFILES.FTP
<--- 250 "AAFTPA.PD.ABCFILES.FTP." is the working directory name prefix.
cd ok, cwd='AAFTPA.'/PD.ABCFILES.FTP
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP> ls
---> PASV
<--- 227 Entering Passive Mode (1.2.3.4,78,34)
---- Connecting data socket to (1.2.3.4) port 20002
---- Data connection established
---> LIST
<--- 550 No data sets found.
---- Closing data socket
ls: Access failed: 550 No data sets found.
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP>  set ftp:list-empty-ok yes
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP> ls
---> PASV
<--- 227 Entering Passive Mode (1.2.3.4,78,43)
---- Connecting data socket to (1.2.3.4) port 20011
---- Data connection established
---> LIST
<--- 550 No data sets found.
---- Closing data socket
ls: Access failed: 550 No data sets found.
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP>  set ftp:list-empty-ok no
lftp [EMAIL PROTECTED]:~/PD.ABCFILES.FTP> ls
---> PASV
<--- 227 Entering Passive Mode (1.2.3.4,78,48)
---- Connecting data socket to (1.2.3.4) port 20016
---- Data connection established
---> LIST
<--- 550 No data sets found.
---- Closing data socket
ls: Access failed: 550 No data sets found.


On 6/4/07, Daniel Fazekas <> wrote:
So try
set ftp:list-empty-ok yes

Reply via email to