Many thanks to two kind lftp users who also use mainframes who helped
me figure out that the file/pathname needed escaping.

Simply doing

      lftp>  cd \'PD.ABCFILES.FTP\'
works, as does using double-quotes instead of the backslash.
Comparing versions of iconv, readline, and lftp with one of the
gentleman showed we have the same versions of iconv and readline and I
have a slightly newer version of lftp so I am not sure why he is able
to do the cd without escaping the single-quotes while I have to escape
them...

Also there is one other minor thing - it doesn't affect functionality
but is misleading if you are using the prompt to guide you as to
"Where you are" on the system.   Both persons pointed out to me that
the "lftp [EMAIL PROTECTED]>" prompt path keeps growing/appending to itself
with each cd you do such that you get a non-existant path like:

      lftp [EMAIL PROTECTED]:~/'PD.ABCFILES.FTP'/'PD.DEFFILES.FTP'>

when in fact your actual/true path is ok/correct, in other words you
are only at 'PD.DEFPFILES.FTP' - so puts/gets and ls work fine.    .

But at least that part is now working so many thanks to both persons
for helping me out.  I am now trying to get the FTP over SSL portion
working - am able to get in but ls doesn't work. I seem several posts
with this same issue in the mailing list so am now going through those
to see what I am missing.  But at least I am closer.

many thanks,

Bloom

On 6/6/07, bl00m (aka Adam) <[EMAIL PROTECTED]> wrote:
I'm still working on the lftp Solaris to MVS/zOS mainframe problem
that I documented here:
http://www.mail-archive.com/lftp%40uniyar.ac.ru/msg02877.html

Reply via email to