i am struggling with using the s3manager to create files on S3. the file
names need to be in the following format "set=2012-04-3", containing an
"=". uploading with out the "=" works perfectly...
sess := session.Must(session.NewSession()) uploader :=
s3manager.NewUploader(sess) _, err =
uploader.Upload(&s3manager.UploadInput{ Bucket: aws.String(
"/testbucket/data/set=2012-04-3/"), Key: aws.String("test.json"), Body:
bytes.NewReader([]byte(message.Body)), }) if err != nil { fmt.Printf("\n
Error: There was an issue uploading to s3: %s \n", err.Error()) }
Would be grateful for any help here
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/b2135911-d0b2-407f-a3a0-02345939df06n%40googlegroups.com.