1748195 Members
4703 Online
108759 Solutions
New Discussion юеВ

FTP problem

 
Wim Van den Wyngaert
Honored Contributor

Re: FTP problem

Or even better : DEFINE /SYSTEM/EXEC TCPIP$FTP_KEEPALIVE 1
(this is for the client, in your case the vms ftp).

Here I read that TCP default are not honoured.
http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec They use a default timeout of 15 instead. Don't know if that doc is correct.

Just love this open stuff where any programmer can do what he likes.

Wim
Wim
ianvt
Advisor

Re: FTP problem

sys$specific:[tcpip$etc]sysconfigtab.dat contains:

#
# TCP/IP Services for OpenVMS V5.1
# sysconfig parameter file
#
nfs:
tcp_threads=8
udp_threads=8

vfs:
vnode_age=120

The remote node OS is Windows, not sure about firewall.
Attached are the TCPIP logicals defined on the system.
Wim Van den Wyngaert
Honored Contributor

Re: FTP problem

I wonder why they put the version in the config file ...

I would go for enabling keepalive as in my last post. The keepalive logical and the config file settings (apply them in the file and restart tcp) or do
sysconfig -r inet tcp_keepcnt=5
etc.

But then restart ftp service (disable + stop/id *ftp* + enable).

It's not clear which parameters are used by the ftp client. I suspect the config file settings.

I would also take a trace of the ftp session to diagnose the hang.

$ tcptrace /pack=10000/prot=tcp/fu/out=x.lis dest_node
and post that.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: FTP problem

And add /port=21 to the tcptrace if you have other traffic to that node.

Wim
Wim
Willem Grooters
Honored Contributor

Re: FTP problem

> The remote node OS is Windows

What Windows: desktop, server, version?

AFAIK, the average desktop windows only has an FTP client, not a server. FTP TO such a machine will fail. I don't know wether it will actually hang of stop immediately.
There may be a FTP server instaleld - I know that IIS as delivered with older Windows evrsions, includes a FTP server.

If it's a Windows Server box, check if FTP is enabled and actually reacting.

It may be possible that the VMS box does connect to the FTP server, but the returning traffic does not arrive, due to bad routing or a firewall blocking the traffic. I've seen both.

Are you running passive mode?

I'm not sure on this, but I kind of remember that 2 ports are involved in FTP: 20 and 21. It may be something to look into as well
Willem Grooters
OpenVMS Developer & System Manager
ianvt
Advisor

Re: FTP problem

I've got more info: I'm not sure what version of windows the remote node is, but it is connecting via a WAN connection some 1300km away. You can FTP from the command line to the remote node from a windows or VMS client.
The script runs every 2 hours and does not "hang" every time. It seems to me that it might be a bad WAN line. The keepalive logical and config file settings will be changed later today. And then we will have to wait and see if the problem still occurs.

Thanks for the help so far. Ian