Posted Fri, 20 Mar 2020 16:48:39 GMT by

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 23:40:28 GMT by

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 23:40:48 GMT by

ignore

Posted Thu, 18 Jun 2020 00:09:35 GMT by

Christian, did you ever resolve your issue? I've seen some various SFTP issues posted on this forum about potential mismatched ciphers but don't seem to find any outcomes/solutions. I have a couple clients with newer SFTP server software where I get upload disconnects with larger files. I have no issues with third-party FTP clients, and even matching the ciphers used by Automate with the standalone FTP clients doesn't seem to help.

Posted Fri, 09 Jun 2023 17:35:34 GMT by Alan Foate BrightView Companies
I'm on 11.3.10.65.<br> I'm unable to transfer a 120Mb file.<br> It does transfer flawlessly using filezilla.

You must be signed in to post in this forum.