Article View: fj.editor.xemacs
Article #40Re: [EFS] gateway, proxy configraton
From: Ishikawa Ichiro
Date: Sun, 26 Dec 1999 00:00
Date: Sun, 26 Dec 1999 00:00
51 lines
2675 bytes
2675 bytes
石川と申します。
From: Shinya Kondo <skondo@roland.co.jp>
Subject: [EFS] gateway, proxy configraton
Date: 25 Dec 1999 11:06:21 +0900
> open proxy_server PORT_NUM
> Connected to proxy_server.
> 220 proxy_server FTP proxy (Version V1.3) ready.
> Name (proxy_server:skondo): quote USER "anonymous"@ftp.xemacs.org
> 501 Bad port number: "USER"
> Login failed.
> ftp>
>
> となりftpに失敗してしまいます。
>
> quote USER
>
> ってのが必要ないようなのですが、どのようにしたら、上のコマンドラインで実
> 行しているような方法で ftpさせることができるのでしょうか?
efs.el で efs-login-send-user が以下のように定義されていますが、quote
USER が余計なのであれば、
(defun efs-login-send-user (host user proc &optional gate retry)
"Send user command to HOST and USER. PROC is the ftp client process.
Optional argument GATE specifies which type of gateway is being used.
RETRY argument specifies to try twice if we get a 421 response."
(let ((cmd (cond
((memq gate '(proxy interlock))
(format "quote USER \"%s\"@%s" user
(後略)
の quote USER を消せばいいのではないでしょうか。
(eval-after-load
"efs"
'(defun efs-login-send-user (host user proc &optional gate retry)
"Send user command to HOST and USER. PROC is the ftp client process.
Optional argument GATE specifies which type of gateway is being used.
RETRY argument specifies to try twice if we get a 421 response."
(let ((cmd (cond
((memq gate '(proxy interlock))
(format "\"%s\"@%s" user
(中略)
(format "; MOTD of %d lines" n)
""))))))))
などと ~/.emacs に書いてみたらどうでしょう。
--
石川 一郎 ichiro@39steps.org
Technical Details
Message-ID:
<19991226163952O.ichiro@mycroft.home.39steps.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<j04emcb93ky.fsf@auge.roland.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: ff358,4bdce9e0173b3488 X-Google-Attributes: gidff358,public X-Google-Thread: 1107f7,4bdce9e0173b3488 X-Google-Attributes: gid1107f7,public From: Ishikawa Ichiro <ichiro@39steps.org> Subject: Re: [EFS] gateway, proxy configraton Date: 1999/12/26 Message-ID: <19991226163952O.ichiro@mycroft.home.39steps.org> X-Deja-AN: 564999354 Content-Transfer-Encoding: 7bit References: <j04emcb93ky.fsf@auge.roland.co.jp> X-Forwarded: by - (DeleGate/5.9.11) Content-Type: Text/Plain; charset=iso-2022-jp X-Dispatcher: imput version 990905(IM130) X-Complaints-To: news@odn.ad.jp X-Trace: nwms2.odn.ne.jp 946213314 5813 143.90.130.28 (26 Dec 1999 13:01:54 GMT) Organization: The 39 Steps X-Prom-Mew: Prom-Mew 1.94 (procmail reader for Mew) Mime-Version: 1.0 NNTP-Posting-Date: 26 Dec 1999 13:01:54 GMT Newsgroups: fj.editor.xemacs,fj.editor.emacs