Commit | Line | Data |
---|---|---|
8c8b8430 | 1 | ;;; url-ftp.el --- FTP wrapper |
00eef4de | 2 | |
ab422c4d | 3 | ;; Copyright (C) 1996-1999, 2004-2013 Free Software Foundation, Inc. |
00eef4de | 4 | |
8c8b8430 SM |
5 | ;; Keywords: comm, data, processes |
6 | ||
00eef4de LH |
7 | ;; This file is part of GNU Emacs. |
8 | ||
4936186e | 9 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
00eef4de | 10 | ;; it under the terms of the GNU General Public License as published by |
4936186e GM |
11 | ;; the Free Software Foundation, either version 3 of the License, or |
12 | ;; (at your option) any later version. | |
00eef4de LH |
13 | |
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. | |
18 | ||
19 | ;; You should have received a copy of the GNU General Public License | |
4936186e | 20 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
00eef4de LH |
21 | |
22 | ;;; Commentary: | |
8c8b8430 SM |
23 | |
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. | |
26 | ;; | |
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. | |
30 | ||
00eef4de LH |
31 | ;;; Code: |
32 | ||
8c8b8430 SM |
33 | (require 'url-parse) |
34 | (require 'url-file) | |
35 | ||
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) | |
40 | ||
41 | (provide 'url-ftp) | |
e5566bd5 | 42 | |
00eef4de | 43 | ;;; url-ftp.el ends here |