Subject: Re: FTP behavior change? From: sreiner1957@yahoo.com (Steve Reiner) Date: 30 Nov 2004 15:27:40 -0800 Newsgroups: comp.os.vms sreiner1957@yahoo.com (Steve Reiner) wrote in message news:... >> JF Mezei wrote in message > try the command FTP> SET PASSIVE ON > >>> > >>> > This will have the VMS host initiate the data connection to the remote unix >>> > which will then send the data on it. >>> > >>> > >>> > Also, you might try to telnet from the Unix host to the VMS machine with a >>> > /port=54291 to see what happens. Could be blocked by a firewall or some config >>> > on the VMS machine at the tcpip stack level. > >> >> Thanks for the suggestions. >> >> I tried the "SET PASSIVE ON", but had the following result: >> >> CM2> FTP >> FTP> SET PASSIVE ON >> Passive is ON. >> FTP> CONNECT LG9250 >> 220 mcsftp> >> Connected to LG9250. >> Name (LG9250:sreiner): SFR >> 230 logged on. >> FTP> SHO PASSIVE >> Passive is ON. >> FTP> pwd >> 257 "^BSL" >> FTP> get LDE >> 500 what? >> FTP> PASSIVE OFF >> Passive is OFF. >> FTP> get LDE >> 200 your data PORT will be 10.40.44.2 54471 >> 150 Opening ASCII mode data connection. >> %TCPIP-E-FTP_DATACONF, cannot establish data connection with remote >> host >> -SYSTEM-F-REJECT, connect to network object rejected >> 451 write error= 32 >> >> Also, I am able to TELNET from the Modcomp (Unix-like) system to the >> VMS system, but I do not know how to change the telnet port it uses. >> TELNET works in both directions. >> >> I neglected to mention that an FTP "put" from VMS to Modcomp works >> just fine. It seems only that the "get" has issues. Just to followup (and hopefully complete this thread)... I put in a call to HP support and they suggested defining the following logicals -- "TCPIP$FTP_ALLOW_ADDR_REDIRECT" = "1" "TCPIP$FTP_ALLOW_PORT_REDIRECT" = "1" After these logical assignments were made, the "get" operation was successful. I've asked support to send me a reference on what the above logicals do, but I haven't seen it yet. I dug around quite a bit before calling them, but didn't find anything that would've led me there. FTP> connect lg9250 220 mcsftp> Connected to LG9250. Name (LG9250:sreiner): SFR 230 logged on. FTP> sho passive Passive is AUTO (IPv4: OFF, IPv6: ON). FTP> pwd 257 "^BSL" FTP> get lde 200 your data PORT will be 10.40.44.2 54552 150 Opening ASCII mode data connection. 226 end of data. local: L2DISK:[USERS.SREINER]LDE.;2 remote: lde 5129 bytes received in 00:00:00.14 seconds (33.62 Kbytes/s)