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

Python Script

Hi,

I want to move files from ftps to s3 bucket.

I made a script in python itself...

I have an error in boto ::::

""""Traceback (most recent call last):
File "/var/cache/tomcat8/temp/interpreter-3746022476161956710.tmp", line 4, in <module>
from boto.s3.connection import S3Connection
ImportError: No module named 'boto' """"

Can you please explain. How to clear this error...

Any other way to move files from ftps to s3...

Thanks,

Mathan.

1 Community Answers

Matillion Agent  

David Lipowitz —

Hi Mathan,

Can you confirm which interpreter you’re using in your Python Script component?

The boto package should be available to the Jython and Python 2 interpreters out-of-the-box, but you will need to install it if you are using the Python 3 interpreter. Please see the instructions found here: Python Script Component, especially the section called “Additional Modules (Python3 Only)”.

Please also note that Matillion offers an S3 Put Object component, which can copy a file from a remote host (such as an FTP or SFTP server) into an Amazon S3 bucket. Documentation on that component can be found here: S3 Put Object component.

I hope that helps and please let us know if you have any additional questions.

Best Regards,
Dave

Post Your Community Answer

To add an answer please login