Function: tramp-ftp-file-name-p

tramp-ftp-file-name-p is a byte-compiled function defined in tramp-ftp.el.gz.

Signature

(tramp-ftp-file-name-p FILENAME)

Documentation

Check if it's a FILENAME that should be forwarded to Ange-FTP.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-ftp.el.gz
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el.  Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(defsubst tramp-ftp-file-name-p (filename)
  "Check if it's a FILENAME that should be forwarded to Ange-FTP."
  (and (tramp-tramp-file-p filename)
       (string= (tramp-file-name-method (tramp-dissect-file-name filename))
		tramp-ftp-method)))