2GB File size limit in scp. ver 2.9p1 and 2.5.2

Damien Miller djm at mindrot.org
Tue May 1 14:53:10 EST 2001


On Tue, 1 May 2001, Peter Bates wrote:

> Hi,
> I need to be able to use scp with files over 2GB.
> I've currently got a set of boxes running 2.5.2p2, and this is unable, as I
> understand it, to transfer these files.
>
> I've just downloaded the latest snapshot, 20010501, it complies fine on two
> rh7.1 machines, but again, I can't scp a file over 2GB. I get the same "file
> to large" error on the client as before.

Does adding

#define _FILE_OFFSET_BITS 64

near the start of scp.c help matters?

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer




More information about the openssh-unix-dev mailing list