bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTP


From: Devon Sean McCullough
Subject: FTP
Date: Sat, 15 Dec 2001 14:14:30 -0500 (EST)

If a binary FTP transfer is interrupted, it resumes in ascii,
thus corrupting the binary file.
I do not know if this bug still exists in the latest version
but it seems unusual enough that it might have escaped attention.

In GNU Emacs 20.4.1 (i386--freebsd, X toolkit)
 of Wed Mar  1 2000 on 
configured using `configure  --with-x-toolkit --with-pop --prefix=/usr/local 
i386--freebsd'

Here's the relevant excerpt from buffer *ftp anonymous@ftp5.freebsd.org*

226 Transfer complete.
type ascii
240640 bytes received in 1.56 seconds (150.18 KB/s)
ftp> 200 Type set to A.
type binary
ftp> 200 Type set to I.
get /pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bt 
/usr/FreeBSD-4.4/bin/bin.bt
ftp> 227 Entering Passive Mode (18,24,10,20,134,154)
150 Opening BINARY mode data connection for 
/pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bt (240640 bytes).

226 Transfer complete.
type ascii
240640 bytes received in 1.36 seconds (172.17 KB/s)
ftp> 200 Type set to A.
type binary
ftp> 200 Type set to I.
get /pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bu 
/usr/FreeBSD-4.4/bin/bin.bu
ftp> 227 Entering Passive Mode (18,24,10,20,12,25)
ftp: connect: Operation timed out
ftp> open ftp5.freebsd.org
Connected to xyz.lcs.mit.edu.
220 xyz.lcs.mit.edu FTP server (Version wu-2.6.1(1) Fri Nov 30 17:23:08 EST 
2001) ready.
user "anonymous" Turtle Power!
ftp> 331 Guest login ok, send your complete e-mail address as password.
230-Welcome, archive user!
230-
230-This is xyz.lcs.mit.edu, which has mirrors for several public archives
230-and software distributions, including:
230-
230-    o AfterStep
230-    o Comprehensive Perl Archive Network [*]
230-    o FreeBSD [*]
230-    o ftp.ietf.org [*]
230-    o NetBSD (updated weekly)
230-    o PostgreSQL
230-    o Tcl/Tk [*]
230-    o ftp.x.org (updated weekly) [*]
230-    o XFree86 [*]
230-
230-[*] These collections are also available via rsync.
230-
230-Access is allowed at all times, but priority is given to LCS users.
230-You are user 28 out of 100 allowed.  Users found abusing this service
230-will be denied access.  In particular, programs which open multiple
230-connections to this server are emphatically not welcome.
230-
230-All transfers are logged.
230-
230-If there are any problems with this server, please send mail to
230-crs@lcs.mit.edu.
230-
230-The FreeBSD archives are striped over two Seagate 50-Gbyte disks
230-donated by Rob Seastrom.  The operating system is FreeBSD.
230-
230 Guest login ok, access restrictions apply.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> pwd
257 "/" is current directory.
get /pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bu 
/usr/FreeBSD-4.4/bin/bin.bu
ftp> 227 Entering Passive Mode (18,24,10,20,155,30)
150 Opening ASCII mode data connection for 
/pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bu (240640 bytes).

226 Transfer complete.
type ascii
241573 bytes received in 4.07 seconds (57.92 KB/s)
ftp> 200 Type set to A.
type binary
ftp> 200 Type set to I.
ftp> get /pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bv 
/usr/FreeBSD-4.4/bin/bin.bv
227 Entering Passive Mode (18,24,10,20,169,24)
150 Opening BINARY mode data connection for 
/pub/FreeBSD/releases/i386/4.4-RELEASE/bin/bin.bv (240640 bytes).

Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-x C-x M-w C-x m d e v o n @ a i . m i t . e d 
u C-n e m a c s SPC b u g M-> C-y C-x C-x C-o M-x r 
e p o r SPC e SPC SPC RET

Recent messages:
Making completion list...
Quit [2 times]
Mark set [5 times]
Saved text until "/4.4-RELEASE/bin/bin.bv (240640 bytes).
"
Loading sendmail...
Loading sendmail...done
Mark set [2 times]
Loading emacsbug...
Loading emacsbug...done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]