Operating System - HP-UX
1827702 Members
2979 Online
109967 Solutions
New Discussion

Re: ftp only 50 files then error

 

ftp only 50 files then error

hello. upgraded to 11.0 from 10.20. After the upgrade, we can only ftp 50 files at a time then get an error "Erroring performing ftp...".
we ftp reports daily and it's different files each time so i'm not sure what the problem is. Is there a setting in ftpd or anymore to set number files to ftp?? thanx!!
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: ftp only 50 files then error

How do you gather the file names to be ftp'ed? Are you using mget? If so, there is a buffer limit imposed upon the length of the filenames being gathered. Did you change your directories where the files being ftp'ed reside?


live free or die
harry
Live Free or Die
Roger Baptiste
Honored Contributor

Re: ftp only 50 files then error

hello. upgraded to 11.0 from
10.20.

>> do you mean fresh install?

After the upgrade, we can only ftp 50 files at a time then get an error "Erroring performing ftp...".

>> Are you getting files
>> to the system or putting
>> it to other system?
>> Error could mean many
>> things. Have you run out
>> of disk space in the destination directory??
>> Does the problem occur
>> only for this one system?

Is there a setting in ftpd or anymore to set number files to ftp?? thanx!!

>> I don't think there is any
>> such setting. I would suggest to look at the disk space where you are copying the files. Also try doing the ftp from this system to a different one to make sure where the problem is.

-raj
Take it easy.
S.K. Chan
Honored Contributor

Re: ftp only 50 files then error

There should not be any limit to number of files but there is a limit in the number of character allowable in "put/get" or "mput/mget" argument. All your files must have got long filenames ? Anyway this limit is defined in /usr/include/sys/param.h
The var is NCARGS. For 11.x it is set to 2048000 (max # of char in exec arg list).

Re: ftp only 50 files then error

harry: thanx. files are in a directory and uses mput (ftp from hp-ux 11.0 to NT Server). No, the directory did not change.

RajMan: Fresh install 11.0. mput to nt server (yuk). No, did not run out of disk space in nt server destination. unfortunately, no other server to ftp to.
Mike Hassell
Respected Contributor

Re: ftp only 50 files then error

Michael,

Are you ftp'ing from the "upgraded" server (HP-UX) or to the server?

What client are you using to transfer the files? Are you pulling these files off the HP-UX box to a Windows machine?

Does this process die each time after exactly 50 files have been transferred?

Can you post any error messages from logs or from the ftp client you are using?

There is no limit that is set that would prevent you from transferring more than 50 files at a time. I would be interested in your syntax for ftp'ing the files (mget * or mget *.txt, etc.) Please provide us with some more detail so we can assist you with your problem, Thanks.

-Mike
The network is the computer, yeah I stole it from Sun, so what?
Bill Hassell
Honored Contributor

Re: ftp only 50 files then error

Are there 'creative' filenames on the server? NT can have spaces and other special characters in filenames that are not healthy in other computer systems. Check the NT directory for file names that look like a cat walked around on the keyboard!


Bill Hassell, sysadmin
Roger Baptiste
Honored Contributor

Re: ftp only 50 files then error

< fresh="" install="" 11.0.="">

Ok, i don''t think the os is the issue here.

< mput to nt server (yuk). >

that explains it ;-)



if you are doing mput,
what is the exact command you are using and where does the error occur? Is it always on the same file? Are you using bin format to transfer?
Set the hash on to monitor the transfer.

Some more details would help
in debugging.

-raj
Take it easy.
Deepak Extross
Honored Contributor

Re: ftp only 50 files then error

Are you accessing the remote machine through a proxy server? Could the proxy be terminating the commection?