Multiple upload to S3 resulting in multiple S3 events

Issue #34 closed
Aurore Weber created an issue

Hello,

When a file gets uploaded to S3, it is uploaded multiple times resulting in multiple PUT events being triggered (ie for me multiple execution of a lambda for the same file).

See logs attached when I uploaded one file onto the server. We can clearly see multiple time "was successfully moved to s3."

Version used : SFTP Gateway version 1.004.0 Copyright (c) 2018, Thorn Technologies LLC

Regards,

Comments (5)

  1. Jeff Thorn
    • changed status to open

    We have identified the cause of this issue. An update will be available shortly that fixes it.

  2. Jeff Thorn

    This has been fixed in version 1.004.1 which is now available by running sudo sftpgw update.

    The issue was related to the way WinSCP uses temporary file names ending with .filepart. An event was being captured for the initial upload and then the rename.

  3. Log in to comment