Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

S3 Put Object

I'm trying to run an S3 Put Object to transfer data from an SFTP server to AWS.
I'm getting the error: "socket is not established"

Thanks,

8 Community Answers

Maurizio Heller —

Also what is an "auth fail"?


Matillion Agent  

Arawan Gajajiva —

Hi Maurizio! I believe the two messages are related. It sounds like Matillion cannot establish a connection with the SFTP endpoint that you have configured. Can you confirm that the SFTP credentials you have setup in the S3 Put Object component is correct?

Regards,
Arawan


Maurizio Heller —

How can I find out the SFTP credentials?


Matillion Agent  

Arawan Gajajiva —

Hi Maurizio – The SFTP credentials required to set this up should be provided to you by whomever administers the SFTP server you are trying to fetch data from.

Regards!
Arawan


Maurizio Heller —

How do I move a file from one location to another location within SFTP server?


Matillion Agent  

David Lipowitz —

Hi Maurizio,

I recommend you take a look at some SFTP documentation for this. See here for example. In this case, you’ll want to use the rename command.

Hope that helps.

Best Regards,
Dave


Maurizio Heller —

Can you give me an example of the syntax within the bash script?


Matillion Agent  

David Lipowitz —

Hi Maurizio,

Have you set up passwordless ssh between the Matillion host and the sftp server? If not, you’ll need to do so using the instructions here: SSH Passwordless Login Using SSH Keygen in 5 Easy Steps

Once configured, you can execute sftp commands like this:

    echo "rename dir_a/file.txt dir_b/file.txt" | sftp user@host

Hope that helps.

Best Regards,
Dave

Post Your Community Answer

To add an answer please login