Operating System - HP-UX
1822430 Members
4808 Online
109642 Solutions
New Discussion юеВ

FTP error transferring files greater than 2GB

 
SOLVED
Go to solution
Carlos Munoz Lopez
Frequent Advisor

FTP error transferring files greater than 2GB

Hello guys. I get a ftp error message when transferring a file bigger than 2GB. From command line the error is "Netout: Connection reset by peer" and WS_FTP error is "hResRead: 0, hResWrite:a0310036 452 Error writing file: Error 0". The remote server is a HP-UX 11i, and I have enough space in the file system where I want to put the file. Have any of you get this error before??? I would like some help on this. Thanks.
5 REPLIES 5
Gavin Clarke
Trusted Contributor
Solution

Re: FTP error transferring files greater than 2GB

Does the target filesystem have largefiles enabled?
Doug O'Leary
Honored Contributor

Re: FTP error transferring files greater than 2GB

Hey;

You may be out of luck. Unless I miss my guess, /usr/lbin/ftpd is a 32bit app which means it cannot create files larger than 2 gigs.

I don't know how to verify the 'bitness' of executables, however. file doesn't seem to do it:

# file /usr/lbin/ftpd
/usr/lbin/ftpd: PA-RISC1.1 shared executable dynamically linked

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Luk Vandenbussche
Honored Contributor

Re: FTP error transferring files greater than 2GB

Does you filesystem allow largefiles?

Do you see the option largefiles for the filesystem in /etc/fstab?

You can modfiy it with

fsadm -F vxfs -o largefiles /dev/vgxx/lvolx
Gavin Clarke
Trusted Contributor

Re: FTP error transferring files greater than 2GB

Looks like Luk beat me to it, this link shows you how to enable largefiles with Online JFS:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=866569

#fsadm -F vxfs -o largefiles /mount-point
Carlos Munoz Lopez
Frequent Advisor

Re: FTP error transferring files greater than 2GB

Thank you guys. You are amazing. It was the largefiles option not enabled on file system.