Mike Alexander wrote in xemacs-beta/nt:
I did some debugging tonight and it appears that this problem is being
caused by "200 PORT command successful" messages coming from the cygwin FTP
client after the get command is issued. EFS was thinking that this
response meant the get command was done when in fact it had only just
started. I fixed it by adding this to my custom.el file:
'(efs-skip-msgs-alist
(quote (("" . "^110 \\|^125 \\|^150 ")
("^ls \\|^put \\|^get \\|^append \\|passive" .
"^500 EPSV not understood")
("^ls \\|^put \\|^get \\|^append " .
"^200 PORT command successful"))) t)
Only the last entry is new. I have no idea what changed in efs or cygwin
to make this start failing since I'm pretty sure it worked until recently.
I see similar a similar problem and workaround on Windows 98se (using the
ftp.exe supplied with Windows). Two efs-report-bug outputs are attached, the
first shows the bug and the second shows a successful login after evalling:
(setq efs-skip-msgs-alist
(list (cons ""
"^110 \\|^125 \\|^150 ")
(cons "^ls \\|^put \\|^get \\|^append \\|passive"
"^500 EPSV not understood")
(cons "^ls \\|^put \\|^get \\|^append "
"^200 PORT command successful")))
=============================================================================
Shows bug, running:
xemacs -vanilla
(setq efs-ftp-program-name "C:\\windows\\ftp.exe")
C-x C-f /jhar(a)userftp.tardis.ed.ac.uk:
Emacs : XEmacs 21.4 (patch 3) "Academic Rigor" [Lucid] (i586-pc-win32) of Mon
May 28 2001 on MARGINAL
Package: efs
efs believes that the host type of userftp.tardis.ed.ac.uk is unix.
Contents of *ftp jhar(a)userftp.tardis.ed.ac.uk*:
Please edit sensitive or irrelevant information.
================================================
open userftp.tardis.ed.ac.uk
Connected to omega.tardis.ed.ac.uk.
help
help
220-The Tardis userftp service.
If you are not a Tardis user, you probably want ftp.tardis.ed.ac.uk.
Please note that passive ftp is not supported.
220 ProFTPD 1.2.1 Server (ProFTPD) [omega.tardis.ed.ac.uk]
quote user "jhar"
331 Password required for jhar.
quote pass Turtle Power!
230 User jhar logged in.
hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
quote pwd
257 "/disk/home/users0/jhar" is current directory.
quote syst
215 UNIX Type: L8
quote cwd /disk/home/users0/jhar/
250 CWD command successful.
ls "-al" C:/Temp/efsaeGIc3
200 PORT command successful.
quote site idle
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
ftp: 2489 bytes received in 0.06Seconds 41.48Kbytes/sec.
quote cwd /disk/home/users0/
500 'SITE IDLE' not understood.
quote cwd /disk/home/users0/
250 CWD command successful.
ls "-al" C:/Temp/efsceGIc3
250 CWD command successful.
quote rnfr /disk/home/users0/jhar/
200 PORT command successful.
quote cwd /disk/home/users0/
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
ftp: 4180 bytes received in 0.55Seconds 7.60Kbytes/sec.
ls "-al" C:/Temp/efsdeGIc3
350 File or directory exists, ready for destination name.
250 CWD command successful.
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
Connection closed by remote host.
current state:
==============
(setq
efs-cu-version "1.20pre1/1.12"
efs-defun-version "1.20pre1/1.1"
efs-fnh-version "1.20pre1/1.4"
efs-netrc-version "1.20pre1/1.2"
efs-ovwrt-version "1.20pre1/1.3"
efs-report-version "1.20pre1/1.10"
efs-version "1.20pre1/1.63"
efs-x19.15-version "1.20pre1/1.2"
efs-36-bit-binary-file-name-regexp nil
efs-anonymous-umask nil
efs-auto-save 0
efs-auto-save-remotely nil
efs-backup-by-copying nil
efs-binary-file-host-regexp nil
efs-binary-file-name-regexp
"\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
efs-buffer-name-case nil
efs-compute-remote-buffer-file-truename nil
efs-debug-ftp-connection nil
efs-ding-on-chmod-failure t
efs-ding-on-umask-failure t
efs-disable-netrc-security-check nil
efs-expire-ftp-buffers t
efs-ftp-buffer-expire-time nil
efs-ftp-program-args '("-i" "-n" "-g" "-v")
efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
efs-gateway-hash-mark-size nil
efs-gateway-incoming-binary-hm-size nil
efs-generate-anonymous-password t
efs-hash-mark-size 2048
efs-high-security-hosts nil
efs-incoming-binary-hm-size nil
efs-local-apollo-unix nil
efs-ls-cache-max 5
efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix
dumb-unix dumb-apollo-unix super-dumb-unix)
efs-max-ftp-buffer-size 3000
efs-maximize-idle nil
efs-message-interval 0
efs-nlist-cmd "ls"
efs-nslookup-on-connect nil
efs-nslookup-program nil
efs-prompt-for-transfer-type nil
efs-pty-check-retry-time 5
efs-pty-check-threshold 1000
efs-quote-local-paths nil
efs-retry-time 5
efs-root-umask nil
efs-send-hash t
efs-set-modtimes-synchronously nil
efs-short-circuit t
efs-short-circuit-to-remote-root nil
efs-suppress-abort-recursive-edit-and-then nil
efs-text-file-name-regexp ".*"
efs-treat-crlf-as-nl nil
efs-umask nil
efs-use-passive-mode nil
efs-verbose t
efs-verify-anonymous-modtime nil
efs-verify-modtime-host-regexp ".*"
efs-ftp-program-name "C:\\windows\\ftp.exe"
efs-ftp-program-args '("-i" "-n" "-g" "-v")
efs-local-host-regexp ".*"
efs-ftp-local-host-regexp ".*"
efs-gateway-host nil
efs-gateway-type nil
reporter-version "3.35"
features '(mail-abbrevs sendmail reporter efs-report passwd efs-x19\.15
efs-fnh efs-ovwrt efs-netrc efs-defun comint ring efs efs-cu
zenirc-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads view-process-autoloads vc-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads slider-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads
scheme-autoloads rmail-autoloads reftex-autoloads psgml-autoloads
prog-modes-autoloads pcl-cvs-autoloads pc-autoloads
os-utils-autoloads net-utils-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mailcrypt-autoloads
mail-lib-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads hm--html-menus-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads
eudc-autoloads eterm-autoloads emerge-autoloads elib-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads dired-autoloads debug-autoloads crisp-autoloads
cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads bbdb-autoloads auctex-autoloads
toolbar-fancy-autoloads bat-mode-autoloads lisp-autoloads loadhist
auto-show fontl-hooks code-cmds gutter-items menubar-items
x-menubar dragdrop mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule
cus-file derived frame text-props obsolete cus-start custom widget
cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
file-coding mswindows-scrollbars mswindows toolbar native-sound
scrollbar network-streams subprocesses menu-accelerator-support
menubar md5 xemacs gutter png gif jpeg xface xpm xbm
lisp-float-type windows-nt dragdrop-api dialog devices
window-system base64)
)
=============================================================================
Successful login, running:
xemacs -vanilla
(setq efs-ftp-program-name "C:\\windows\\ftp.exe")
(setq efs-skip-msgs-alist
(list (cons ""
"^110 \\|^125 \\|^150 ")
(cons "^ls \\|^put \\|^get \\|^append \\|passive"
"^500 EPSV not understood")
(cons "^ls \\|^put \\|^get \\|^append "
"^200 PORT command successful")))
C-x C-f /jhar(a)userftp.tardis.ed.ac.uk:
Emacs : XEmacs 21.4 (patch 3) "Academic Rigor" [Lucid] (i586-pc-win32) of Mon
May 28 2001 on MARGINAL
Package: efs
efs believes that the host type of userftp.tardis.ed.ac.uk is unix.
Contents of *ftp jhar(a)userftp.tardis.ed.ac.uk*:
Please edit sensitive or irrelevant information.
================================================
open userftp.tardis.ed.ac.uk
Connected to omega.tardis.ed.ac.uk.
help
help
220-The Tardis userftp service.
If you are not a Tardis user, you probably want ftp.tardis.ed.ac.uk.
Please note that passive ftp is not supported.
220 ProFTPD 1.2.1 Server (ProFTPD) [omega.tardis.ed.ac.uk]
quote user "jhar"
331 Password required for jhar.
quote pass Turtle Power!
230 User jhar logged in.
hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
quote pwd
257 "/disk/home/users0/jhar" is current directory.
quote syst
215 UNIX Type: L8
quote cwd /disk/home/users0/jhar/
250 CWD command successful.
ls "-al" C:/Temp/efsdVeIc3
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
ftp: 2489 bytes received in 0.17Seconds 14.64Kbytes/sec.
quote site idle
500 'SITE IDLE' not understood.
current state:
==============
(setq
efs-cu-version "1.20pre1/1.12"
efs-defun-version "1.20pre1/1.1"
efs-dired-version "1.20pre1/1.32"
efs-fnh-version "1.20pre1/1.4"
efs-netrc-version "1.20pre1/1.2"
efs-ovwrt-version "1.20pre1/1.3"
efs-report-version "1.20pre1/1.10"
efs-version "1.20pre1/1.63"
efs-x19.15-version "1.20pre1/1.2"
efs-36-bit-binary-file-name-regexp nil
efs-anonymous-umask nil
efs-auto-save 0
efs-auto-save-remotely nil
efs-backup-by-copying nil
efs-binary-file-host-regexp nil
efs-binary-file-name-regexp
"\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
efs-buffer-name-case nil
efs-compute-remote-buffer-file-truename nil
efs-debug-ftp-connection nil
efs-ding-on-chmod-failure t
efs-ding-on-umask-failure t
efs-disable-netrc-security-check nil
efs-expire-ftp-buffers t
efs-ftp-buffer-expire-time nil
efs-ftp-program-args '("-i" "-n" "-g" "-v")
efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
efs-gateway-hash-mark-size nil
efs-gateway-incoming-binary-hm-size nil
efs-generate-anonymous-password t
efs-hash-mark-size 2048
efs-high-security-hosts nil
efs-incoming-binary-hm-size nil
efs-local-apollo-unix nil
efs-ls-cache-max 5
efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix
dumb-unix dumb-apollo-unix super-dumb-unix)
efs-max-ftp-buffer-size 3000
efs-maximize-idle nil
efs-message-interval 0
efs-nlist-cmd "ls"
efs-nslookup-on-connect nil
efs-nslookup-program nil
efs-prompt-for-transfer-type nil
efs-pty-check-retry-time 5
efs-pty-check-threshold 1000
efs-quote-local-paths nil
efs-retry-time 5
efs-root-umask nil
efs-send-hash t
efs-set-modtimes-synchronously nil
efs-short-circuit t
efs-short-circuit-to-remote-root nil
efs-suppress-abort-recursive-edit-and-then nil
efs-text-file-name-regexp ".*"
efs-treat-crlf-as-nl nil
efs-umask nil
efs-use-passive-mode nil
efs-verbose t
efs-verify-anonymous-modtime nil
efs-verify-modtime-host-regexp ".*"
efs-ftp-program-name "C:\\windows\\ftp.exe"
efs-ftp-program-args '("-i" "-n" "-g" "-v")
efs-local-host-regexp ".*"
efs-ftp-local-host-regexp ".*"
efs-gateway-host nil
efs-gateway-type nil
reporter-version "3.35"
features '(mail-abbrevs sendmail reporter efs-report efs-dired dired-faces
dired-xemacs dired passwd view-less view hyper-apropos cus-face
find-func efs-x19\.15 efs-fnh efs-ovwrt efs-netrc efs-defun comint
ring efs efs-cu zenirc-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads
view-process-autoloads vc-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads slider-autoloads sh-script-autoloads
sgml-autoloads semantic-autoloads scheme-autoloads rmail-autoloads
reftex-autoloads psgml-autoloads prog-modes-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads misc-games-autoloads mine-autoloads
mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
emerge-autoloads elib-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads debug-autoloads
crisp-autoloads cookie-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads
bbdb-autoloads auctex-autoloads toolbar-fancy-autoloads
bat-mode-autoloads lisp-autoloads loadhist auto-show fontl-hooks
code-cmds gutter-items menubar-items x-menubar dragdrop
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1
page buff-menu lib-complete help-nomule cus-file derived frame
text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp file-coding
mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs gutter png gif jpeg xface xpm xbm lisp-float-type
windows-nt dragdrop-api dialog devices window-system base64)
)
--
Jonathan Harris | jhar(a)tardis.ed.ac.uk
London, England | Jonathan.Harris(a)symbian.com