SFTP

  • 14 Jan

    Kicking sessions because of too many failed commands

    Kicking sessions because of too many failed commands

    Q: Dear support team, With one of our vendors our IP has been banned for invalid commands .

    2024-01-04 01:20:56,152 WARN [com.dymmyhost.mft.port ][6353] – |—Kicking sessions because of too many failed commands.—

    Looking at our log, I could see the error

    1/8/2024 9:31:48 AM SFTPRemoveFile, SB Delete Exception: %DELE-not found%

    What is that? Please consider that we use the option: “use .tmp extention”

    Regarding the .TMP extension, we used it to avoid that the 3rd party could get it before the file transmission. I don’t know if this is related to the error.

    limagito file mover sftp as destination setup

    A: This option is helpful when uploading large files and to prevent another process from picking up the files from the SFTP server before the file upload is complete as you said. We upload the file with a .tmp extension, for example “MyUpload.pdf” will be uploaded as “MyUpload.pdf.tmp”. When the upload is successful we first try to delete any existing “MyUpload.pdf” file on the SFTP server and next we’ll rename “MyUpload.pdf.tmp” to “MyUpload.pdf”. The fact that we are trying to delete an non existing file is giving you the issue with this SFTP server it seems.

    Reply Customer: For these jobs we use unique and progressive file names, so there is no possibility to have 2 files with the same name. For us is much better to manage this kind of exception instead of sending a command that periodically makes our IP banned.

    A: In version v2023.1.14.0 we added the following option ‘Use Temp Extension Method’.

    Open your SFTP as Destination setup and witch to the ‘Common’ tab. In your case (unique filenames), you could switch to ‘Rename Only’.

    • Default (Try delete before rename)
    • Check file exist before delete & rename
    • Rename Only

    limagito file mover sftp too many failed commands

    sftp #managedfiletransfer #filetransfer #filemanagement

    If you need any help with this ‘too many failed commands’ question, please let us know.

    Best Regards,

    Limagito Team

  • 19 Mar

    FTP and SFTP Batch Download Mode

    Batch Download Mode

    Q: How to limit number of files downloading from a SFTP server. We want to move thousands of files per scan but limit the number of files being processed. For example there are 5000 files to move and the batch size is set to 100. So it moves the first 100 files, processes them and downloads the next 100. This will continue until all files are downloaded.

    A: We added an option to achieve this for SFTP (v2023.3.12.0) and FTP (v2023.3.19.0) as Source.

    Batch Mode Download

    #FileTransfer #SFTP #FTP

    If you need any info about this ‘Batch Download Mode’ issue, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team FTP SFTP
  • 16 Mar

    Azure Blob SFTP Public Key Authentication Failed

    Q: I am having some issues with getting SFTP private SSH keys to work. The same SFTP account works fine if I configure a password

    So far I have:
    Generated private key in Azure
    Used puttyGen on local system to generate keys and uploaded to Azure
    Tried both API vendor modes
    Tried different SFTP versions
    Enabled Stay Connected
    Switched to Keyboard-Interactive Last SSH auth order
    Enabled Control log

    It might be due to us using Azure Blob SFTP https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support

    A: It can mean that our File Mover tried to use rsa-sha2-256 for the authentication, because the server indicated it supports rsa-sha2-256, but does not actually support it for the SFTP Public Key authentication.

    In version v2023.3.15.0 we added an extra option ‘Force User Authentication to Rsa-Sha1’ to achieve this. Important is to use our second API Vendor – CK.

    Force User Authentication to Rsa-sha1

     

    Update 30th of August 2023, in Limagito version v2023.8.30.0 there was another optimization regarding Azure SFTP server connection issues.

    SSH/SFTP: Fixed uncommon public-key authentication problems where the client and server are not agreeing on the choice of userauth key algorithm if RSA is used and the server supports the rsa-sha2-256 and rsa-sha2-512 host key algorithms.

     

    #FileTransfer #Azure

    If you need any info about this ‘Azure Blob SFTP Public Key’ issue, please let us know.

    Best regards,

    Limagito Team

1 2 3 4 5 10
SEARCH