;;; -*- Mode:Lisp; Readtable:CL; Package:USER; Base:10; Patch-File:T -*- ;;; Patch file for System version 126.133 ;;; Reason: ;;; FTP Server now assumes the default character mode of the file on open ;;; unlees the user specifically asks for :ascii mode. ;;; Written 27-Oct-88 17:32:17 by fileserver at site Gigamos Cambridge ;;; while running on James Brown from band 1 ;;; with Experimental System 126.132, Experimental ZWEI 126.27, Experimental ZMail 74.13, Experimental Local-File 76.0, Experimental File-Server 25.0, Experimental Unix-Interface 14.0, Experimental Tape 25.1, Experimental Lambda-Diag 18.0, Microcode 1762, SDU Boot Tape 3.14, SDU ROM 102, Lambda/Falcon Development System. ; From modified file DJ: L.NETWORK.IP-TCP.SERVER; FTP.LISP#85 at 27-Oct-88 17:32:18 #10R FTP#: (COMPILER-LET ((*PACKAGE* (GLOBAL:PKG-FIND-PACKAGE "FTP"))) (COMPILER::PATCH-SOURCE-FILE "SYS: NETWORK; IP-TCP; SERVER; FTP  " (defun ftp-store-1 (state pn mode &aux os is) "Write a file to the local TCP host (modulo chaosnet file servers) Mode can be any keyword acceptable for the :IF-EXISTS option to OPEN." (setq os (open pn :characters (or (eq (ftpstate-transfer-type state) :ascii) :default) :byte-size (ftpstate-byte-size state) :if-exists mode))) ))