Posted Fri, 20 Mar 2020 08:48:39 GMT by Christian Wavik

Automate 11.0.0.43

I have a taskt that should upload files on a sftp server.

There is no problem in opening a session and upload small files,
But when I try to uppload a bigger file ex. 20mb it fails directly.
Sometimes a tiny part of the file is uploaded before it fails.
Call stack:

Error Code: 33338
Error Test: Ftp failed(Error : SFTP component not connected)


It works flawless in filezilla

From ftp log when I upload a small file that works

------------------------------------------------------------------------
Date : 2020-03-20 09:00:34
------------------------------------------------------------------------
2020-03-20 09:00:34 : Connecting to sftp.ftpserver.cc connection type is Sftp.
2020-03-20 09:00:34 : Server key [******************] received.
2020-03-20 09:00:34 : Authentication type [Keyboard] used
2020-03-20 09:00:34 : Password-based keyboard interactive login.
2020-03-20 09:00:34 : Authentication succeeded
2020-03-20 09:00:34 : SFTP version : Sftp4.
2020-03-20 09:00:34 : Encryption algorithm client to server : EA_3DES
2020-03-20 09:00:34 : Encryption algorithm server to client : EA_3DES
2020-03-20 09:00:34 : MAC algorithm client to server : HMAC_SHA1
2020-03-20 09:00:34 : MAC algorithm server to client : HMAC_SHA1
2020-03-20 09:00:34 : Key exchange algorithm: DH_GROUP_EXCHANGE
2020-03-20 09:00:34 : Public key algorithm: RSA

2020-03-20 09:00:34 : Is folder exist /UploadDir/.
2020-03-20 09:00:34 : Upload file D:\temp\tom\test.txt to /UploadDir/test.txt.

2020-03-20 09:00:34 : Disconnect from server sftp.ftpserver.cc
2020-03-20 09:00:34 : SFTP connection closed

And this is when it fails on a larger file

------------------------------------------------------------------------
Date : 2020-03-20 09:02:21
------------------------------------------------------------------------
2020-03-20 09:02:20 : Connecting to sftp.ftpserver.cc connection type is Sftp.
2020-03-20 09:02:20 : Server key [*****] received.
2020-03-20 09:02:20 : Authentication type [Keyboard] used
2020-03-20 09:02:21 : Password-based keyboard interactive login.
2020-03-20 09:02:21 : Authentication succeeded
2020-03-20 09:02:21 : SFTP version : Sftp4.
2020-03-20 09:02:21 : Encryption algorithm client to server : EA_3DES
2020-03-20 09:02:21 : Encryption algorithm server to client : EA_3DES
2020-03-20 09:02:21 : MAC algorithm client to server : HMAC_SHA1
2020-03-20 09:02:21 : MAC algorithm server to client : HMAC_SHA1
2020-03-20 09:02:21 : Key exchange algorithm: DH_GROUP_EXCHANGE
2020-03-20 09:02:21 : Public key algorithm: RSA

2020-03-20 09:02:21 : Is folder exist /UploadDir/.
2020-03-20 09:02:21 : Upload file D:\temp\tom\biggerfile.xml to /UploadDir/biggerfile.xml.
2020-03-20 09:02:21 : Error 2
2020-03-20 09:02:21 : SFTP connection closed

 

 

 

<AMFTP ACTIVITY="logon" SERVER="sftp.ftpserver.cc" USERNAME="test" PASSWORD="*******" TYPE="sftp" PORT="22" LOGFILE="D:\temp\tom\ftp.log" OVERWRITELOG="no" TIMEOUT="45" SFTPHOSTKEY="validate" SESSION="FtpSession1" />
<AMFTP ACTIVITY="upload" SESSION="FtpSession1" SOURCE="d:\temp\tom\*.xml" DEST="/UploadDir/" RESULTDATASET="ds" />
<AMFTP ACTIVITY="logoff" SESSION="FtpSession1" />

Posted Fri, 20 Mar 2020 15:40:28 GMT by Justin Aucoin

Hi Christian,

The error code indicates that there is an issue with the ciphers uploading larger files. We did update our supported ciphers in the 11.0.6 release. As such, we'd advise upgrading to the current release of Automate, at this time 11.3.10, as this release includes the updated ciphers.

Posted Fri, 20 Mar 2020 15:40:48 GMT by Justin Aucoin

ignore

You must be signed in to post in this forum.