]> code.delx.au - gnu-emacs/blob - lisp/url/url-ftp.el
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
[gnu-emacs] / lisp / url / url-ftp.el
1 ;;; url-ftp.el --- FTP wrapper
2 ;; Keywords: comm, data, processes
3
4 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5 ;;; Copyright (c) 1993 - 1996 by William M. Perry <wmperry@cs.indiana.edu>
6 ;;; Copyright (c) 1996 - 1999 Free Software Foundation, Inc.
7 ;;;
8 ;;; This file is part of GNU Emacs.
9 ;;;
10 ;;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;;; it under the terms of the GNU General Public License as published by
12 ;;; the Free Software Foundation; either version 2, or (at your option)
13 ;;; any later version.
14 ;;;
15 ;;; GNU Emacs is distributed in the hope that it will be useful,
16 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;;; GNU General Public License for more details.
19 ;;;
20 ;;; You should have received a copy of the GNU General Public License
21 ;;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;;; Boston, MA 02111-1307, USA.
24 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
25
26 ;; We knew not what we did when we overloaded 'file' to mean 'file'
27 ;; and 'ftp' back in the dark ages of the web.
28 ;;
29 ;; This stub file is just here to please the auto-scheme-loading code
30 ;; in url-methods.el and just maps everything onto the code in
31 ;; url-file.
32
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)
42
43 ;;; arch-tag: 9c3e70c4-350f-4d4a-bb51-a1e9b459e7dc