Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

OpenVMS 8.3 TCPIP V5.7 ECO3 FTP/SSL unexpected session termination after PUT

 
Peter Barkas
Regular Advisor

OpenVMS 8.3 TCPIP V5.7 ECO3 FTP/SSL unexpected session termination after PUT

Using FTP/SSL to connect to Windows Server FTPS Server and it works OK.

 

However, the problem I have is that the OpenVMS FTP/SSL client session terminates after successfully completing a PUT command, and the remote log shows that a QUIT command was sent.

 

I don't know why the QUIT is being issued.

 

HerBar$ ftp/ssl xxxserver2/user=xxxxxx/pass="xxxxxx"

 

220-Welcome to Cerberus FTP Server

220 Created by Cerberus, LLC

Connected to XXXSERVER2.

234 Authentication method accepted

200 PBSZ=0

200 PROT P OK, data channel will be secured

331 User XXXXXX, password please

230 Password Ok, User logged in

FTP> cd xxxxxx

250 Change directory ok

FTP> enable log

Bell off.

Debugging on (debug=1).

FTP> put test.txt

---> PORT 10,5,42,12,243,20

200 Port command received

---> STOR test.txt

150 Opening data connection

226 Transfer complete

---> QUIT

221 Goodbye

 

 

Things I noticed during FILEZILLA setup

------------------------------------------------------

 

FILEZILLA server had to be set to EXPLICIT.

 

Note that initial connection is using the standard FTP port 21 and then the client requests encryption of either or both of the data and control channels.

 

The server controls the types of FTP connections that are permitted.

 

3 REPLIES
Peter Barkas
Regular Advisor

Re: OpenVMS 8.3 TCPIP V5.7 ECO3 FTP/SSL unexpected session termination after PUT and other problems

1. After successful ASCII mode PUT session terminates

 

2. BINARY mode PUT works as expected

 

3. ASCII mode GET works as expected

 

4. BINARY mode get fails with:

%TCPIP-E-FTP_OUTPROCF, error processing output file xxx -RMS-F-RSZ, invalid record size

 

 

$ ftp/ssl xxxserver2/user=xxtest/pass="xxtest"

220-Welcome to Cerberus FTP Server

220 Created by Cerberus, LLC

Connected to NETSERVER2.

234 Authentication method accepted

200 PBSZ=0

200 PROT P OK, data channel will be secured

331 User XXTEST, password please

230 Password Ok, User logged in

FTP> enable log

Bell off.

Debugging on (debug=1).

FTP> cd xxtest

---> CWD xxtest

250 Change directory ok

FTP> set passive on

Passive is ON.

FTP> get test.txt

---> PASV

227 Entering Passive Mode (10,5,20,111,43,13)

---> RETR test.txt

150 Opening data connection

226 Transfer complete

local: DSA300:[XXXXXX]TEST.TXT;5 remote: test.txt

21 bytes received in 00:00:00.00 seconds (21.00 Kbytes/s)

FTP> binary

---> TYPE I

200 Type Binary

FTP> get XXX_stock.dat

---> PASV

227 Entering Passive Mode (10,5,20,111,43,14)

---> RETR wms_stock.dat

150 Opening data connection

%TCPIP-E-FTP_OUTPROCF, error processing output file DSA300:[XXXXXX]XXX_STOCK.DAT;4

-RMS-F-RSZ, invalid record size

550 File transfer failed

FTP> ascii

---> TYPE A

200 Type ASCII

FTP> put test.txt

---> PASV

227 Entering Passive Mode (10,5,20,111,43,15)

---> STOR test.txt

150 Opening data connection

226 Transfer complete

---> QUIT

221 Goodbye

$

Peter Barkas
Regular Advisor

Re: OpenVMS 8.3 TCPIP V5.7 ECO3 FTP/SSL unexpected session termination after PUT and other problems

Current functionality is probably adequate for current project, however, a support call has been logged with HP, will log response here.

Peter Barkas
Regular Advisor

Re: OpenVMS 8.3 TCPIP V5.7 ECO3 FTP/SSL unexpected session termination after PUT and other problems

HP support is investigating issue 4.

 

HP could not reproduce issues 1-3, so the cause may be local network configuration.