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
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()) }