1833875 Members
1905 Online
110063 Solutions
New Discussion

ftp

 

ftp

For no explanable reason, we cannot upload to
our hp9000 any file > 1k bytes using ftp (we use to be able to) All other features of ftp are working ok I can download files of any size from the hp, I can cd, ls, pwd etc. I can ftp to itself using the localhost hostname any file size. When I turn debug on using "ftp -d"
on the remote machine and do a "put" I get:

put gregjunk
---> TYPE 1
200 Type set to I
---> PORT 192,168,20,32,4,128
200 PORT command sucessful
---> STOR gregjunk
150 Opening BINARAY mode data connection for gregjunk

at this point ftp just sits there and does nothing. I can't do an rcp on the remote machine because it doesn't have a hosts.equiv file and the machine is not mine to mess with.
Both hosts are on a common lan segment and share the same subnet address without a router in between them. Rebooting did not fix anything, nor did using a different account.
I don't really quite know what I'm doing and would appreciate any insight.

Thanks,

Greg

qwerty uiop
4 REPLIES 4
James A. Donovan
Honored Contributor

Re: ftp

Since you say the machines are on the same subnet AND that a reboot has not helped, check the /etc/rc.config.d/nddconf file for anything that modifies one or more of the tcp/ip tuneable parameters.

Use 'netstat -s' and lanadmin to check and see if you're getting any packet drops.
Remember, wherever you go, there you are...
Brian Hackley
Honored Contributor

Re: ftp

Hi,
Also try to send 10 each 4000 byte pings to the HP, e.g. ping hp 4000 10 and see if they get throught OK. Even if the ping works, it
is still possible that if you are using 100BaseT that some of the components are running at different speed/duplex values. On the HP, use lanadmin -x against the NMID(10.20, from lanscan) or PPA(11.0, from lanscan) of all the lan cards and double check with the network switch admin that the switch is set to the same speed and duplex.
I hope this helps,
-> Brian Hackley
Ask me about telecommuting!

Re: ftp

I tried ping with different block sizes and when block sizes got over 900 bytes messages
started to get dropped. Does anyone know what is going on?
qwerty uiop
William Baines
Frequent Advisor

Re: ftp

Greg,

I recall a similar problem where the Mtu (Max transmission unit) size was not set to 1500 for an Ethernet lan. Check your Mtu setting with netstat -i
Work smarter, not harder