Operating System - HP-UX
1833555 Members
3143 Online
110061 Solutions
New Discussion

Re: FTP SESSION TIMED OUT

 
ALAN BELLENGER
Occasional Contributor

FTP SESSION TIMED OUT

I am sending a 190MB file by FTP to a remote site. After about two hours of data transfer I get "sendfile: Connection timed out"
Is there some parameter I need to alter to get around this ?
4 REPLIES 4
John Poff
Honored Contributor

Re: FTP SESSION TIMED OUT

Hi,

Sounds like a network issue. I've seen problems like this before between remote systems, and it turned out to be a speed and duplex problem on one of our systems.

Does it start out fast and then gradually slow down?

JP
harry d brown jr
Honored Contributor

Re: FTP SESSION TIMED OUT


What are ftp'ing from and what are you ftp'ing to?

Have you tried to turn the hash option on and see it transfer?

Is there any file on the remote site?

live free or die
harry
Live Free or Die
Shannon Petry
Honored Contributor

Re: FTP SESSION TIMED OUT

There is an FTP daemon parameter in some FTP servers which can be set. However if data is moving then timeout is not an issue.

Looks like your dropping the connection part way through. The easiest way to tell is to turn on hashing.
I.E.
ftp somehost
user
pass
bin
prompt
hash
mput myfiles*
by

Hashing will print a pound sign "#" for ever 1024bytes (some clients vary, my SunOS system is 8K per hash).

Many reasons that the connections can drop, and would require new thread with topology and configurations.

Regards,
Shannon
Microsoft. When do you want a virus today?
Ray Brewer
Valued Contributor

Re: FTP SESSION TIMED OUT

Try using the "-B" option to set buffer size to a lower value. According to the man page on ftp this can help with connection and timeout issues. Here is the what the man page says about this option.

man ftp

Set the buffer size of the data socket to size blocks of
1024 bytes. The valid range for size is an integer from 1 to 64 (default is 56).
Note: A large buffer size will improve the performance of ftp on fast links (e.g., FDDI), but may cause long connection times on slow links (e.g., X.25).

Ray