Commit Graph

31 Commits

Author SHA1 Message Date
sperber c04d46910c Rewrite the NETRC library to something more general and much shorter,
along with up-to-date information.  Get FTP and POP3 to use the new
code.
2003-01-21 14:20:13 +00:00
sperber b81da26fdc Don't allow a file name as the "log" argument to FTP-CONNECT---the
library never bothered closing the port anyway.
2003-01-16 13:55:13 +00:00
sperber 6af4ba85de Fix RFC URL. 2003-01-16 13:42:04 +00:00
sperber 5513b85f7d Add copyright line for me. 2003-01-16 13:40:23 +00:00
sperber a4766e2abd Return (VALUES) instead of the reply text for many procedures, lest
someone actually try to use that information.
2003-01-16 13:38:21 +00:00
sperber 2f5d5a1f53 Remove obsolete comments. 2003-01-16 13:34:58 +00:00
sperber 54ece65f35 Support passive mode in FTP. 2003-01-16 13:32:43 +00:00
sperber bba9c34744 - rename FTP-TYPE -> FTP-SET-TYPE!
- use enumerated type for argument of FTP-SET-TYPE!
2003-01-16 12:52:16 +00:00
sperber 2ebb8d0e0f Replace remaining uses of FORMAT. 2003-01-16 12:45:55 +00:00
sperber bd368af1dc Don't gratuitously parse ~/.netrc. 2003-01-16 12:39:36 +00:00
sperber bb84449320 - call FTP-LOGIN from FTP-CONNECT
- don't store login and password in connection record
- don't try to use password if USER succeeds already
- allow port (instead of file) for logging
- fix protocol bugs between FTP-LS/FTP-DIR and FTP-BUILD-COMMAND-STRING
2003-01-16 12:36:27 +00:00
sperber 1b5098bea0 Lower-case silly "IN." 2003-01-16 10:58:02 +00:00
sperber fddc9bda46 Prettify FTP-LOG. 2003-01-16 10:55:15 +00:00
sperber d07bf7beae Revamp FTP-GET, FTP-PUT, and FTP-APPEND: always take remote file name
as argument and an ACT procedure which acts on the data input/output
port.
2003-01-16 10:51:40 +00:00
sperber f0448cb34f Have FTP-LS and FTP-DIR returns list of directory lines rather than
printing the directory to (current-output-port).
2003-01-16 10:21:59 +00:00
sperber 101109e785 Fix FTP-SIZE to read reply until the end of the string. 2003-01-16 10:18:22 +00:00
sperber a4810b4cae Rename all those ugly "OUT"s to "out". 2003-01-16 10:03:04 +00:00
sperber 697ed851b8 - fix handling of multi-line replies
- redo FTP-MODIFICATION-TIME and FTP-PWD without regexps
2003-01-16 10:01:28 +00:00
sperber 1a0099230c Rewrite reply code testing with predicates instead of regexps. 2003-01-16 09:40:34 +00:00
sperber 045ded0d30 Rewrite FTP-BUILD-PORT-STRING in terms of FORMAT-INTERNET-HOST-ADDRESS
and FORMAT-PORT.
2003-01-16 09:23:05 +00:00
sperber 30f6f2a0a6 Reanem "response" -> "reply" in accordance with RFC 959. 2003-01-16 09:16:29 +00:00
sperber a138b994ba More comment and indentation fixes. 2003-01-16 09:12:10 +00:00
sperber 3da9d2019d ange-ftp -> EFS (in comments) 2003-01-15 15:41:45 +00:00
sperber fcbc62f29e Fix some mis-indentations of RECEIVE. 2003-01-15 15:40:33 +00:00
sperber f7ca3d5393 Use READ-CRLF-LINE instead of READ-LINE.
(FTP is TELNET-based.)
2003-01-15 15:39:13 +00:00
sperber 9109ecaaf6 Remove comments that have moved to the documentation. 2003-01-15 15:37:22 +00:00
sperber 9b272be2b7 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in NETRC. 2002-12-03 10:50:26 +00:00
sperber fe96c5f2b2 Use DEFINE-RECORD-TYPES instead of DEFREC-PACKAGE in FTP. 2002-12-03 10:44:48 +00:00
sperber 6faaa49692 Remove obsolete comments about compatibility. 2002-12-03 10:41:49 +00:00
sperber aeeeea79c1 Add copyright notice. 2002-08-27 09:03:22 +00:00
sperber 3a166202d8 Moved from top-level directory. 2002-06-08 15:07:01 +00:00