1847878 Members
5302 Online
104021 Solutions
New Discussion

Re: Transfer FTp

 
SOLVED
Go to solution
Oscar Paredes Alvarez
Occasional Advisor

Transfer FTp

Hello, I need transfer larger file by FTP, but this is large and trunk or don´t transfe
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Transfer FTp

If say 2 GB tranfers and then it stops, check the options on the fileystem that its being transferred too.

What I mean is that if you try and transfer a file bigger than 2 GB to a filesystem that does not have largefiles enabled, then the transfer will stop at 2 GB.

The fsadm command is used on hp-ux systems to check or change a filesystem from non largefiles to largefiles.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alex Lavrov.
Honored Contributor
Solution

Re: Transfer FTp

To continue Steven's reply:
fsadm

if you don't see "largefiles", then:
fsadm -o largefiles /path/to/filesystem
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Sumit Ghoshal
Occasional Advisor

Re: Transfer FTp

hi

use fsadm -o

and then try

Sumit
C. Beerse_1
Regular Advisor

Re: Transfer FTp

You indicate large files and most replies are about a 2 GB barier. With FTP, there is also a 4 GB barier: If the filesize is transfered between client and server, some (most older) clients and/or servers chop 4 GByte parts, transfering only the remainder: a 8.3 GByte file will only transfer the first 0.3 GByte. Here, the solution can be updating the client and server. An other solution is to use an other protocol (http, nfs, samba) or to `cut` the file to smaller chunks and use `cp` at the other end to recreate the file.

btw: as ftp-client, I find myself using `wget` more and more, specially in scripted ftp-s. See http://hpux.its.tudelft.nl/hppd/hpux/Gnu/wget-1.9.1/ for wget on hp-ux.
make everything as simple as possible, not simpler (A.Einstein??)
Oscar Paredes Alvarez
Occasional Advisor

Re: Transfer FTp

Thansk...

The solution is corrrect.