* lisp/emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
[emacs.git] / lisp / url / url-ftp.el
blob670094d80ca46f28ae9a0b49c51e8ca7eb8a22bc
1 ;;; url-ftp.el --- FTP wrapper
3 ;; Copyright (C) 1996-1999, 2004-2011 Free Software Foundation, Inc.
5 ;; Keywords: comm, data, processes
7 ;; This file is part of GNU Emacs.
9 ;; GNU Emacs is free software: you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation, either version 3 of the License, or
12 ;; (at your option) any later version.
14 ;; GNU Emacs is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;; GNU General Public License for more details.
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
22 ;;; Commentary:
24 ;; We knew not what we did when we overloaded 'file' to mean 'file'
25 ;; and 'ftp' back in the dark ages of the web.
27 ;; This stub file is just here to please the auto-scheme-loading code
28 ;; in url-methods.el and just maps everything onto the code in
29 ;; url-file.
31 ;;; Code:
33 (require 'url-parse)
34 (require 'url-file)
36 (defconst url-ftp-default-port 21 "Default FTP port.")
37 (defconst url-ftp-asynchronous-p t "FTP transfers are asynchronous.")
38 (defalias 'url-ftp-expand-file-name 'url-default-expander)
39 (defalias 'url-ftp 'url-file)
41 (provide 'url-ftp)
43 ;;; url-ftp.el ends here