0 Replies Latest reply on Mar 16, 2016 5:37 AM by petnil

    SSL Accept failed on FTP data channel. The connection will be aborted

    petnil

      Hi,

      We have a scheduled task that should upload a file to a remote location via FTP over SSL or TLS. This was working fine with version 15 but not now with version 16. The upload works sometimes but most of the time it doesn't.

       

      We really need this to work or else a downgrade must be done. So any ideas or questions will be appreciated.

       

      Kind regards,

      Peter Nilsson

       

      STATUS> Resolving host "ftps.xxxxx.xx"...

      STATUS> Connecting to "nnn.nnn.nnn.nnn" on port 21.

      STATUS> Connected to nnn.nnn.nnn.nnn:21 from nnn.nn.n.nnn:64626.

      220-FTP 10:12:22 on 2016-03-15.

      220 Connection will close if idle for more than 5 minutes.

      COMMAND> AUTH TLS

      234 Security environment established - ready for negotiation

      STATUS> SSL connection established. All transactions are now secure.

      STATUS> Encryption cipher: 256 bit AES; Version: TLSv1/SSLv3.

      STATUS> Connected. Logging in to the server.

      COMMAND> USER xyz

      331 Send password please.

      COMMAND> PASS ***

      230 xyz is logged on.  Working directory is "/remotefolder1/remotefolder2/out".

      STATUS> Login successful.

      COMMAND> SYST

      215 UNIX is the operating system of this server. FTP Server is running on z/OS.

      COMMAND> FEAT

      211- Extensions supported

      SIZE

      MDTM

      AUTH TLS

      PBSZ

      PROT

      211 End

      COMMAND> REST 100

      504 Restart requires Block or Compressed transfer mode.

      STATUS> Server supports resume.

      COMMAND> PBSZ 0

      200 Protection buffer size accepted

      COMMAND> PROT P

      200 Data connection protection set to private

      COMMAND> PWD

      257 "/remotefolder1/remotefolder2/out" is the HFS working directory.

      COMMAND> CWD /remotefolder1/remotefolder2/in

      250 HFS directory /remotefolder1/remotefolder2/in is the current working directory

      COMMAND> PASV

      227 Entering Passive Mode (nnn,nnn,nnn,nnn,nnn,nn)

      STATUS> Opening passive mode data connection to nnn.nnn.nnn.nnn, port 60734.

      STATUS> Negotiating SSL connection with server...

      COMMAND> LIST /remotefolder1/remotefolder2/in/File123.txt

      550 LIST cmd failed : ls: FSUM6785 File or directory "/remotefolder1/remotefolder2/in/File123.txt" is not found

      STATUS> Sending: \\localserver\localfolder1\localfolder2\out\File123.txt -> /remotefolder1/remotefolder2/in/File123.txt

      COMMAND> TYPE A

      ERROR> SSL Accept failed on FTP data channel. The connection will be aborted.

      STATUS> Resolving host "ftps.xxxxx.xx"...

      STATUS> Connecting to "nnn.nnn.nnn.nnn" on port 21.

      STATUS> Connected to nnn.nnn.nnn.nnn:21 from nnn.nn.n.nnn:64630.

      220-FTP 10:12:25 on 2016-03-15.

      220 Connection will close if idle for more than 5 minutes.

      COMMAND> AUTH TLS

      234 Security environment established - ready for negotiation

      STATUS> SSL connection established. All transactions are now secure.

      STATUS> Encryption cipher: 256 bit AES; Version: TLSv1/SSLv3.

      STATUS> Connected. Logging in to the server.

      COMMAND> USER xyz

      331 Send password please.

      COMMAND> PASS ***

      230 xyz is logged on.  Working directory is "/remotefolder1/remotefolder2/out".

      STATUS> Login successful.

      COMMAND> SYST

      215 UNIX is the operating system of this server. FTP Server is running on z/OS.

      COMMAND> FEAT

      211- Extensions supported

      SIZE

      MDTM

      AUTH TLS

      PBSZ

      PROT

      211 End

      COMMAND> REST 100

      504 Restart requires Block or Compressed transfer mode.

      STATUS> Server supports resume.

      COMMAND> PBSZ 0

      200 Protection buffer size accepted

      COMMAND> PROT P

      200 Data connection protection set to private

      COMMAND> PWD

      257 "/remotefolder1/remotefolder2/out" is the HFS working directory.

      COMMAND> QUIT

      221 Quit command received. Goodbye.