1755110 Members
5080 Online
108830 Solutions
New Discussion юеВ

ftp

 
madhu_19
New Member

ftp

i have tried an mget * from an IBM aix 4.3 machine using an ftp session to a HP-UX machine. The files are in HP-UX machine and i need to get that into the IBM aix machine.The number of files is around 1360, and this is successfully done from aix to aix, solaris to aix and linux to aix. The error i get is as below.
ftp> mget *
can't find list of remote files, oops
ftp>
It would be helpful if i get to know the reason for such a behavior.

One more data is that i can do a ls from the ftp prompt, only mget * is not working successfully.
Thanks in advance,
Madhu.
6 REPLIES 6
VEL_1
Valued Contributor

Re: ftp


Can you able to get one file( mget file.txt ) using mget?

Check the ftp log mesg & sys log also.
Bill Hassell
Honored Contributor

Re: ftp

With so many filenames, the HP-UX ftp daemon probably hit a limit to the total number of filenames in a single request, sometehing like the command line limit for a shell. Try limiting the list with something like: mget a*


Bill Hassell, sysadmin
Florian Heigl (new acc)
Honored Contributor

Re: ftp

this could possibly happen if You have a firewall in between and are not using passive mode, otherwise it's really strange.
yesterday I stood at the edge. Today I'm one step ahead.
Alessandro Pilati
Esteemed Contributor

Re: ftp

Maybe your ftp client doesn't recognize the "*" character... try with mget "*", or make a tarball on the ftp server and then download it...

Let us know

Regards,
Alessandro
if you don't try, you'll never know if you are able to
Dave La Mar
Honored Contributor

Re: ftp

Madhu -
What is the default directory for the user from the aix box? From the script, if you do an ls, do the files appear?

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Raj D.
Honored Contributor

Re: ftp

Hi Madhu ,

Try to get the all 1360 files from hp-ux server to AIX server , through NFS mount , that will be easier:

1. HP-UX server:

# vi /etc/exports
/filesystem1 -anon=65534

# exportfs -a


2. AIX server:
# mount hp-ux:/filesystem1 /mnt # [ Host name entry to be there in /etc/hosts ]
# cd /mnt
# cp -r * /yourdir

Enjoy ,
Cheers,

Raj.
" If u think u can , If u think u cannot , - You are always Right . "