I gang

Fix my Python boto download sciprt

This is my current code:

from [url removed, login to view] import S3Connection

from [url removed, login to view] import Key

import sys

conn = S3Connection('____________________', '________________________________________')

bucket = conn.get_bucket('bucketname')

rs = [url removed, login to view]("FamilyPhotos")

for key in rs:

print [url removed, login to view]

keys = [key for key in bucket]

latest = max(keys)

latest.get_contents_to_filename()

Currently it doesnt work. I have files in my s3 bucket in a specific folder which have filenames formatted in the following way:

YYYYMMDDHHMMSS

[url removed, login to view]

[url removed, login to view]

At the moment there is some pseudo code in there that I am not sure how to replace it with the correct python code. What it is designed to do is establish a connection to my S3 bucket and download a file which has the most recent filename.

Færdigheder: Amazon Web Services, Python

Se mere: python download file, download file python, code sys, pseudo code, boto python, python fix code, amazon boto, boto, boto download, fix python, python download, import files folder, python boto, amazon print, download zip files, connection python, fix print, python fix, name download, print list python, python fix cpu, download amazon, amazon list files, mysql replace script python, python amazon

Om arbejdsgiveren:
( 70 bedømmelser ) Bristol, United Kingdom

Projekt-ID: #4047235

Tildelt til:

prabhatg

I've alredy tried it. Just 3 lines of code.

£20 GBP in 0 dage
(2 bedømmelser)
1.0

5 freelancere byder i gennemsnit £21 for dette job

matthulse

I can help you with this. Let's get started today.

£25 GBP in 2 dage
(3 bedømmelser)
2.9
kevogich

I understand the problem .And i only bid low because am new here.

£20 GBP på 1 dag
(0 bedømmelser)
0.0
thevoidvw

I'm an experienced Python developer and can make this work for you.

£20 GBP på 1 dag
(0 bedømmelser)
0.0
jungleru

Hello, I have experience with boto, I can fix this script.

£20 GBP på 1 dag
(0 bedømmelser)
0.0