1832847 Members
4245 Online
110047 Solutions
New Discussion

Re: FTP file limitation

 
Francis Adekunle
Occasional Contributor

FTP file limitation

I am trying to ftp/transfer an 8GB file from my HP 10.20 box to my HP 11.00 box and it errors out at 2GB. How can I get around the 2GB size limitation?
4 REPLIES 4
Alexander M. Ermes
Honored Contributor

Re: FTP file limitation

Hi Toni.
May sound just a bit silly, but have you activated the large file option on your target system ? The 2 GB filesize may point to that.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
James R. Ferguson
Acclaimed Contributor

Re: FTP file limitation

Hi Toni:

In order to support files larger than 2GB, you must convert/enable 'largefiles' for the filesystem(s) for which you want to support them. To convert a filesystem to support largefiles, do:

/usr/sbin/fsadm -F hfs -o largefiles /dev/vgXX/rlvolX

Remember that the tar and cpio utilities cannot handle files that are larger than 2GB.

You should read the "HP-UX Large Files White Paper Version 1.4 (HP-UX 10.x, HP-UX 11.0)" available in PDF format too:

http://docs.hp.com/hpux/os/10.x/index.html

...JRF...

Ovidiu D. Raita
Valued Contributor

Re: FTP file limitation

POSIX standars limits the file size to 2GB. That's way tar and cpio are not supported for files larger than 2GB. It might be a FTP limitation too. If you don't succeed after you modify the file system options to -o largefiles a solution would be to split the file, ftp the pieces and then paste it back.

use
# split <- for splitting
# cat <- for pasting

Ovidiu
Simple solutions to complex problems
Francis Adekunle
Occasional Contributor

Re: FTP file limitation

Actually, i wasn't able to change the filesystem limitations with that command. I was however able to vi the fstab and then umount and mount the filesytem to pick up the new settings. Thanks everyone!