Isn't your problem the fact that this property only sets the key name of
the file?  Perhaps you can set your bucket name as
er.attachment.s3.bucket=bucket/path, but that's just a guess.

On Wed, Jul 11, 2012 at 3:30 PM, Benjamin Harrington <[email protected]
> wrote:

> Hello All,
>
> I was having an issue with ERAttachment (s3 mode).  When setting the
> property file attribute:
>
> er.attachment.s3.key=projectName/${pk}${ext}
>
> The '/' gets escaped into '%2F'.  The default value is ${pk}${ext}
> (primary key).(mime extension) which work as expected.
>
> I've tried several options such as escaping with a backslash, feeding it
> the %2F instead, or any other tweaks I could think of, but it always comes
> out as URL encoding.
>
> Any thoughts on this?  I would like to avoid programmatically setting
> this, as the ERXAttachmentUploader and such classes are concise and handy.
>
> Thanks!
>
> -Benny
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com
>
> This email sent to [email protected]
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to