You need to sign in to do that
Don't have an account?
Harish Basthapur
How to Round the blob value for the Files uploaded from Force.com to AmazonS3
Hi,
We are uploading files from force.com to amazon aws S3, but we need to the round the size of the Files/Folders uploaded into S3, this could be acheived by rounding the value of blob property say:
public Blob fileBlob {get;set;} /*Important one*/
public Integer fileSize {get;set;}
public String fileName {get;set;}
How could we acheive this scenario. If possible we are looking to round the file size .
Thanx in advance!
what you mean with "round the blob"?
In S3 you could send blob data using Base64 instead of directly a blob data, isn't it?
Sending blob fields from SF using POST requests is tricky (see my blog post with a recently updated solution http://enreeco.blogspot.it/2013/01/salesforce-apex-post-mutipartform-data.html ).
--
May the Force.com be with you