LFTP directory listing issue on new linux server

"Lau, Sherry" <[email protected]>
Newsgroups gmane.network.lftp.user
Message-ID <7aba8f9d8627474a99b66afaacf3feae@BY2PR07MB025.namprd07.prod.outlook.com>
Hi,

I am porting code to a new application server and am having problems with LFTP when trying to get a directory listing from the ftp server.

Thank you in advance for looking at this.

Best,
Sherry Lau
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

New version:

[cid:[email protected]]

Old version:

[cid:[email protected]]


Not working on new app server:

/app/prod/epn_cdb>lftp -d U_FTP_statTXextrct@etsftp01
Password:
lftp U_FTP_statTXextrct@etsftp01:~> ls
---- Connecting to etsftp01 (144.81.253.93) port 21
<--- 220 Microsoft FTP Service
---> FEAT
<--- 211-Extended features supported:
<---  LANG EN*
<---  UTF8
<---  AUTH TLS;TLS-C;SSL;TLS-P;
<---  PBSZ
<---  PROT C;P;
<---  CCC
<---  HOST
<---  SIZE
<---  MDTM
<---  REST STREAM
<--- 211 END
---> AUTH TLS
<--- 234 AUTH command ok. Expecting TLS Negotiation.
---> LANG
Certificate: C=US,ST=New Jersey,L=Princeton,O=Educational Testing Service,OU=IS,CN=ETS        FTP01.ETS.ORG
Issued by:        C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=Terms of use at         https://www.verisign.com/rpa (c)10,CN=VeriSign Class 3 Secure Server CA - G3
Checking against: C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=Terms of use at         https://www.verisign.com/rpa (c)10,CN=VeriSign Class 3 Secure Server CA - G3
  Trusted
Certificate: C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=Terms of use at https        ://www.verisign.com/rpa (c)10,CN=VeriSign Class 3 Secure Server CA - G3
Issued by:        C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=(c) 2006 VeriSi        gn\, Inc. - For authorized use only,CN=VeriSign Class 3 Public Primary Certification A        uthority - G5
Checking against: C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=(c) 2006 VeriSi        gn\, Inc. - For authorized use only,CN=VeriSign Class 3 Public Primary Certification A        uthority - G5
  Trusted
Certificate: C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=(c) 2006 VeriSign\, I        nc. - For authorized use only,CN=VeriSign Class 3 Public Primary Certification Authori        ty - G5
Issued by: C=US,O=VeriSign\, Inc.,OU=Class 3 Public Primary Certification Authority
  Trusted
WARNING: Certificate verification: The certificate's owner does not match hostname 'et        sftp01'

<--- 200 Language is now English, UTF-8 encoding.
---> OPTS UTF8 ON
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
---> HOST etsftp01
<--- 504 Server cannot accept argument.
---> USER U_FTP_statTXextrct
<--- 331 Password required for U_FTP_statTXextrct.
---> PASS XXXX
<--- 230 User logged in.
---> PWD
<--- 257 "/" is current directory.
---> PBSZ 0
<--- 200 PBSZ command successful.
---> PROT P
<--- 200 PROT command successful.
---> PASV
<--- 227 Entering Passive Mode (144,81,253,93,120,94).
---- Connecting data socket to (144.81.253.93) port 30814
`ls' at 0 [Making data connection...]                      => hangs here



Working on old app server:

/app/prod/txrsrch>lftp -d U_FTP_statTXextrct@etsftp01
Password:
lftp U_FTP_statTXextrct@etsftp01:~> ls
---- Connecting to etsftp01 (144.81.253.93) port 21
<--- 220 Microsoft FTP Service
---> FEAT
<--- 211-Extended features supported:
<---  LANG EN*
<---  UTF8
<---  AUTH TLS;TLS-C;SSL;TLS-P;
<---  PBSZ
<---  PROT C;P;
<---  CCC
<---  HOST
<---  SIZE
<---  MDTM
<---  REST STREAM
<--- 211 END
---> AUTH TLS
<--- 234 AUTH command ok. Expecting TLS Negotiation.
---> LANG
Certificate depth: 3; subject: /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certi     fication Authority; issuer: /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certific     ation Authority
Certificate depth: 2; subject: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c     ) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Ce     rtification Authority - G5; issuer: /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary      Certification Authority
Certificate depth: 1; subject: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Te     rms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA      - G3; issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign,      Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Auth     ority - G5
Certificate depth: 0; subject: /C=US/ST=New Jersey/L=Princeton/O=Educational Testing      Service/OU=IS/CN=ETSFTP01.ETS.ORG; issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust N     etwork/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secu     re Server CA - G3
<--- 200 Language is now English, UTF-8 encoding.
---> OPTS UTF8 ON
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
---> HOST etsftp01
<--- 504 Server cannot accept argument.
---> USER U_FTP_statTXextrct
<--- 331 Password required for U_FTP_statTXextrct.
---> PASS XXXX
<--- 230 User logged in.
---> PWD
<--- 257 "/" is current directory.
---> PBSZ 0
<--- 200 PBSZ command successful.
---> PROT P
<--- 200 PROT command successful.
---> PASV
<--- 227 Entering Passive Mode (144,81,253,93,120,91).
---- Connecting data socket to (144.81.253.93) port 30811
---> LIST
<--- 125 Data connection already open; Transfer starting.
---- Closing data socket
<--- 226 Transfer complete.
02-27-14  10:05AM       <DIR>          statSuccessNav
12-01-11  11:53AM       <DIR>          statiCritThnk
05-20-14  10:51AM       <DIR>          statGeorgia
05-28-14  11:40AM       <DIR>          statCLEPIBT_DW
04-25-14  10:17PM       <DIR>          DWHCLEP
06-12-14  12:41PM       <DIR>          STAT_TOEFL_DW



________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
image001.png (image/png, 19 KB) - not displayed
image002.png (image/png, 37 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.