1828990 Members
2701 Online
109986 Solutions
New Discussion

ftp timeout

 
Jonathan Caplette
Regular Advisor

ftp timeout

Hi guys,

I got a problem with the ftp daemon on my HP-UX 10.20 box. I think it's with the daemon... Let me explain:

I need to upload files on my server (HP-UX 10.20) from my workstation (WinNT 4.0), all on the same LAN, no firewalls to passthru, when I try to upload, from my WS to my server, those files, the upload "freeze", never at the same file, after a while. But when I download the same bunch of file from the server to my WS every thing's fine. I checked out the space available and I get enought space to put the files. I tried to upload the file with 3 different ftp agent (CuteFTP, WS_Ftp and Hummingbird FTP)

Any ideas???
Regards,
Jonathan
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: ftp timeout


Ive seen this problem before, its almost always a network/routing problem. Some strange way way of connecting from your PC to the HP server. Check your IP's, subnet masks, DNS, traceroute output etc.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sanjay_6
Honored Contributor

Re: ftp timeout

Hi,

Hope you don't have a duplicate ip problem on the network.

Hope this helps.

Regds
Mark Greene_1
Honored Contributor

Re: ftp timeout

Try doing the ftp from the unix box to the unix box. If successful, this should eliminate any configuration issues with ftp in Unix.

Then check your routes on the Unix box (netstat -r), you may have a bogus static route and the return tcp packets are getting lost. Also, try doing the ftp remotely, but add the "hash" command at the start before initiating any file transfer. This will generate some tcp trafic back to the remote system and may address any timeout issues.

HTH
mark
the future will be a lot like now, only later
MANOJ SRIVASTAVA
Honored Contributor

Re: ftp timeout

Hi Jonathan


It can be bcoz of the Lan port setting of the server and the switch , like a mismatch for Half Dupelx and full duplex stuff . Try doing a ftp to another Unix server and check the timing for a big file if this doesnt time out then the problem is outside other wise if this is lsow then try changing the settings of the server lan port.


Manoj Srivastava
Mike Hassell
Respected Contributor

Re: ftp timeout

Jonathan,

I have heard of this problem in the past, however I don't remember and exact solution if there is one.

I would check my routes to ensure everything is configured properly there. Then I would also check for the duplex settings on both the switch and the NIC on the workstation and the server.

Use lanadmin and take a look at the counters there to ensure you're not getting network errors of any type.

Then if you want to elimiate the ftpd that ships with 10.20 you can try implementing a new ftpd server, such as:

http://www.proftpd.org/

You can download a precompiled version here:

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/proftpd-1.2.4/

Hope that helps.

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

Re: ftp timeout

Hi

You can also increase logging to enable ftpd to write errors to the syslog via inetd.conf
file

just append -v to the ftpd entry then hit

#inetd -c

to get inetd to re-read it's config file

timeout can also be increased via the same file, this is done in seconds although I don't think that that is the issue

-t1800 = 30 mins

Regards

Steve
take your time and think things through