File Size Limit Exceeded?

Paul Dickson plug-discuss@lists.plug.phoenix.az.us
Fri, 15 Mar 2002 18:28:47 -0700


On Wed, 13 Mar 2002 14:24:13 -0700, Kevin Brown wrote:

> Maybe there is some internal limitation in the ftp clients that also needs to be
> fixed.
> 
> > The weird thing is, the 2.4.x kernels are suppose to allow large file
> > support.   I can run 'dd' and it will make a 3 gig file, but if I run ftp,
> > it stops at 2.0 gig, saying 'file size limit exceeded' and so i tried
> > ncftp, and it finishes, but if the file is bigger then 2 gig, it freaks
> > out and it doesnt work, but it is the correct filesize.
> 
> > > \_ Greetings,
> > > \_
> > > \_ I tried to FTP as root to another box on my local lan,  I needed to grab
> > > \_ this 3.0 gig file, and it stopped at 2 gigs, saying "File Size Limit
> > > \_ Exceeded"  Is there anyway to change that to 4 gigs or whatever?  I need
> > > \_ to get these 2 gig limit.
> > > \_
> > > \_ I'm running Redhat 7.2 if that matters.
> > >
> > > ext2 is limited to 2G files IIRC; pick another fs type.

Verify that ulimit is not limiting you.  "ulimit -a" will list all limits.
Do a "man bash" for more info, search for ulimit.

It's also possible that your ftp program is using the wrong file
operations.  It may be using the functions with int file-length rather
than unsigned long.  Both do exist.

	-Paul