Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 10:28:11 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        John Bolster <j.bol@gte.net>
Cc:        "Freebsd-Questions@Freebsd. Org" <freebsd-questions@freebsd.org>
Subject:   Re: ftp file corruption
Message-ID:  <Pine.BSF.4.33.0104231025050.61017-100000@q.closedsrc.org>
In-Reply-To: <NEBBKLANMLAKACFKNODOCEJJDMAA.j.bol@gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-04-23, John Bolster scribbled:

# I am running FBSD 4.1 release with ftpd. Transferring small files was no
# problem, but I have found repeatedly that once a file gets larger, if I
# upload it to the server then download it from the server, what I get back is
# the right file size, but corrupted. By corrupted, I mean that some of the
# pictures in a large Word document will have gone black, or the install files
# for a program will claim to have a crc error.

Make sure that you transfer a file in binary mode, not in ASCII mode
(since Word documents, Zip files and almost any other file format except
for plain text files, including HTML, XML, .txt, are binary files).

If you are doing this through a Windows based FTP client, there should
be an option in the Preferences dialog or the connection dialog to set
the transfer mode to Binary.

If you are using the command line version of FTP under Windows, type in
`bin' right after you log in to switch to Binary transfer mode.

-- 
Linh Pham
[lplist@closedsrc.org]

// 404b - Brain not found


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104231025050.61017-100000>