You may want to try and flip the set ftp:ssl-protect-list yes to no... the server you are connected to may not support tls for listings.
Justin On Wed, Dec 21, 2005 at 04:45:38PM +0100, RAPPAZ Francois wrote: > Hi > > With lftp 3.3.4 I get no answer from our server with ls: > > lftp [EMAIL PROTECTED]:/dokpe> ls > ---> PROT P > <--- 200 Protection set to Private > ---> PORT 134,21,47,143,12,248 > <--- 200 PORT command successful > ---> LIST empty > <--- 150 Opening ASCII mode data connection for file list > Certificate: C=CH,ST=Fribourg,L=Fribourg,O=Universite de Fribourg > Universitaet Freiburg,CN=www.unifr.ch > Issued by: C=ZA,ST=Western Cape,L=Cape Town,O=Thawte Consulting > cc, > OU=Certification Services Division,CN=Thawte Premium Server > CA,[EMAIL PROTECTED] > Checking against: C=ZA,ST=Western Cape,L=Cape Town,O=Thawte Consulting > cc, > OU=Certification Services Division,CN=Thawte Premium Server > CA,[EMAIL PROTECTED] > Trusted > Certificate: C=ZA,ST=Western Cape,L=Cape Town,O=Thawte Consulting cc, > OU=Certification Services Division,CN=Thawte Premium Server > CA,[EMAIL PROTECTED] > Issued by: C=ZA,ST=Western Cape,L=Cape Town,O=Thawte Consulting cc, > OU=Certification Services Division,CN=Thawte Premium Server > CA,[EMAIL PROTECTED] > WARNING: Certificate verification: Not trusted > `ls' `a 0 [R'eception des donn'ees/TLS] > > and there is no more output from here. > > My settings are listed below. If anyone could explain me what to change > in my settings to get ls working, that would be great ! > > Thanks > > Francois > > my settings are > > set bmk:auto-sync yes > set bmk:save-passwords no > set cache:cache-empty-listings no > set cache:enable yes > set cache:expire 60m > set cache:expire-negative 1m > set cache:size 1048576 > set cmd:at-exit "" > set cmd:cls-completion-default -FB > set cmd:cls-default -F > set cmd:csh-history on > set cmd:default-protocol ftp > set cmd:default-title "lftp \\h:\\w" > set cmd:fail-exit no > set cmd:interactive no > set cmd:long-running 30 > set cmd:ls-default "" > set cmd:move-background yes > set cmd:prompt "lftp \\S\\? [EMAIL PROTECTED]:\\w> " > set cmd:remote-completion on > set cmd:save-cwd-history yes > set cmd:save-rl-history yes > set cmd:set-term-status no > set cmd:status-interval 0.8s > set cmd:term-status "" > set cmd:term-status/*rxvt* "\\e[11;0]\\e]2;\\T\\007\\e[11]" > set cmd:term-status/*screen* \\e_\\T\\e\\ > set cmd:term-status/*xterm* "\\e[11;0]\\e]2;\\T\\007\\e[11]" > set cmd:trace no > set cmd:verbose no > set cmd:verify-host yes > set cmd:verify-path yes > set cmd:verify-path-cached no > set color:dir-colors "" > set color:use-color auto > set dns:SRV-query no > set dns:cache-enable yes > set dns:cache-expire 1h > set dns:cache-size 256 > set dns:fatal-timeout 0 > set dns:order inet > set dns:use-fork yes > set file:charset US-ASCII > set fish:connect-program "ssh -a -x" > set fish:shell /bin/sh > set ftp:acct "" > set ftp:anon-pass lftp@ > set ftp:anon-user anonymous > set ftp:auto-passive-mode yes > set ftp:auto-sync-mode "icrosoft FTP Service|MadGoat" > set ftp:bind-data-socket yes > set ftp:charset "" > set ftp:client lftp/3.3.4 > set ftp:device-prefix no > set ftp:fix-pasv-address yes > set ftp:fxp-force no > set ftp:fxp-passive-source no > set ftp:fxp-passive-sscn yes > set ftp:home "" > set ftp:ignore-pasv-address no > set ftp:lang "" > set ftp:list-empty-ok no > set ftp:list-options empty > set ftp:nop-interval 120 > set ftp:passive-mode no > set ftp:port-ipv4 "" > set ftp:port-range full > set ftp:proxy "" > set ftp:proxy-auth-joined no > set ftp:rest-list no > set ftp:rest-stor yes > set ftp:retry-530 "too many|overloaded|try (again |back )?later|is > restricted to > |maximum number|number of connect|only.*session.*allowed|more > connection" > set ftp:retry-530-anonymous "Login incorrect" > set ftp:site-group "" > set ftp:skey-allow yes > set ftp:skey-force no > set ftp:ssl-allow yes > set ftp:ssl-allow-anonymous no > set ftp:ssl-auth TLS > set ftp:ssl-force no > set ftp:ssl-protect-data no > set ftp:ssl-protect-fxp no > set ftp:ssl-protect-list yes > set ftp:ssl-use-ccc no > set ftp:stat-interval 1 > set ftp:sync-mode true > set ftp:sync-mode/ftp.idsoftware.com on > set ftp:sync-mode/ftp.microsoft.com on > set ftp:sync-mode/sunsolve.sun.com on > set ftp:timezone GMT > set ftp:use-abor yes > set ftp:use-feat yes > set ftp:use-fxp yes > set ftp:use-hftp yes > set ftp:use-mdtm yes > set ftp:use-mdtm-overloaded no > set ftp:use-mlsd no > set ftp:use-pret yes > set ftp:use-quit yes > set ftp:use-site-chmod yes > set ftp:use-site-idle no > set ftp:use-site-utime no > set ftp:use-size yes > set ftp:use-stat yes > set ftp:use-telnet-iac yes > set ftp:verify-address no > set ftp:verify-port no > set ftp:web-mode off > set ftps:initial-prot "" > set hftp:cache yes > set hftp:cache-control "" > set hftp:proxy "" > set hftp:use-authorization yes > set hftp:use-head yes > set hftp:use-mkcol no > set hftp:use-propfind no > set hftp:use-type yes > set http:accept */* > set http:accept-charset "" > set http:accept-language "" > set http:authorization "" > set http:cache yes > set http:cache-control "" > set http:cookie "" > set http:post-content-type application/x-www-form-urlencoded > set http:proxy "" > set http:put-content-type "" > set http:put-method PUT > set http:referer "" > set http:set-cookies no > set http:use-mkcol yes > set http:use-propfind yes > set http:user-agent lftp/3.3.4 > set https:proxy "" > set mirror:exclude-regex "(^|/)(\\.in\\.|\\.nfs)" > set mirror:order "*.sfv *.sig *.md5* *.sum * */" > set mirror:parallel-directories yes > set mirror:parallel-transfer-count 1 > set mirror:set-permissions yes > set mirror:use-pget-n 1 > set module:path /usr/local/lib/lftp/3.3.4:/usr/local/lib/lftp > set net:connection-limit 0 > set net:connection-takeover yes > set net:idle 180 > set net:limit-max 0 > set net:limit-rate 0:0 > set net:limit-total-max 0 > set net:limit-total-rate 0:0 > set net:max-retries 4096 > set net:no-proxy "" > set net:persist-retries 0 > set net:reconnect-interval-base 30 > set net:reconnect-interval-max 600 > set net:reconnect-interval-multiplier 1.5 > set net:socket-bind-ipv4 "" > set net:socket-buffer 0 > set net:socket-maxseg 0 > set net:timeout 5m > set sftp:connect-program "ssh -a -x" > set sftp:max-packets-in-flight 16 > set sftp:protocol-version 4 > set sftp:server-program sftp > set sftp:size-read 0x8000 > set sftp:size-write 0x8000 > set ssl:ca-file "" > set ssl:cert-file "" > set ssl:crl-file "" > set ssl:key-file "" > set ssl:verify-certificate no > set xfer:clobber yes > set xfer:destination-directory "" > set xfer:disk-full-fatal no > set xfer:eta-period 120 > set xfer:eta-terse yes > set xfer:make-backup yes > set xfer:max-redirections 10 > set xfer:rate-period 15 > set xfer:verify no > set xfer:verify-command /usr/local/share/lftp/verify-file
