Variable: ange-ftp-skip-msgs

ange-ftp-skip-msgs is a customizable variable defined in ange-ftp.el.gz.

Value

"^200 \\(PORT\\|Port\\) \\|^331 \\|^150 \\|^350 \\|^[0-9]+ bytes \\|^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|^Data connection \\|^200 PBSZ\\|^200 Protection set to Private\\|^234 AUTH TLS successful\\|^SSL not available\\|^\\[SSL Cipher .+\\]\\|^\\[Encrypted data transfer\\.\\]\\|^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|^500 .*AUTH\\|^KERBEROS\\|^500 This security scheme is not implemented\\|^504 Unknown security mechanism\\|^530 Please login with USER and PASS\\|^534 Kerberos Authentication not enabled\\|^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT\\|^500 .*EPSV"

Documentation

Regular expression matching FTP messages that can be ignored.

This variable was added, or its default value changed, in Emacs 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;; CMS and the odd VMS machine say 200 Port rather than 200 PORT.
;; Also CMS machines use a multiline 550- reply to say that you
;; don't have write permission. ange-ftp gets into multi-line skip
;; mode and hangs. Have it ignore 550- instead. It will then barf
;; when it gets the 550 line, as it should.

;; RFC2228 "FTP Security Extensions" defines extensions to the FTP
;; protocol which involve the client requesting particular
;; authentication methods (typically) at connection establishment. Non
;; security-aware FTP servers should respond to this with a 500 code,
;; which we ignore.

;; Further messages are needed to support ftp-ssl.
(defcustom ange-ftp-skip-msgs
  (concat "^200 \\(PORT\\|Port\\) \\|^331 \\|^150 \\|^350 \\|^[0-9]+ bytes \\|"
	  "^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|"
	  "^Data connection \\|"
          "^200 PBSZ\\|" "^200 Protection set to Private\\|"
          "^234 AUTH TLS successful\\|"
          "^SSL not available\\|"
	  "^\\[SSL Cipher .+\\]\\|"
	  "^\\[Encrypted data transfer\\.\\]\\|"
	  "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|"
          "^500 .*AUTH\\|^KERBEROS\\|"
          "^500 This security scheme is not implemented\\|"
          "^504 Unknown security mechanism\\|"
	  "^530 Please login with USER and PASS\\|" ; non kerberized vsFTPd
	  "^534 Kerberos Authentication not enabled\\|"
	  "^22[789] .*[Pp]assive\\|^200 EPRT\\|^500 .*EPRT\\|^500 .*EPSV")
  "Regular expression matching FTP messages that can be ignored."
  :group 'ange-ftp
  :version "26.1"
  :type 'regexp)