new
> > LocationBuilder().scope(LocationScope.REGION)
> > > .id("eu-central-1")
> > > .description("region")
> > > .build();
> > >
> > > // Creat
nerInLocation(loc, containername);
> >
> > // Create a Blob
> > File input = new
> File("/home/archana/Eclipse/jclouds1/src/main/java/jclouds1/sample.txt");
> > long length = input.length();
> > // Add a Blob
> > Blob blob =
> blobStore.blobBuilder(objectname).payload(Files.asByteSource(input)).contentLength(length)
> > .contentDisposition(objectname).build();
> >
> > // Upload the Blob
> > String eTag = blobStore.putBlob(containername, blob);
> > System.out.println(eTag);}}
> > Error : requested location eu-central-1, which is not in the configured
> locations
> > Solution to rectify the issue required
> >
> > RegardsArchana
>
>
> --
> Andrew Gaul
> http://gaul.org/
>
>
>
>
Add a Blob
> Blob blob =
> blobStore.blobBuilder(objectname).payload(Files.asByteSource(input)).contentLength(length)
> .contentDisposition(objectname).build();
>
> // Upload the Blob
> String eTag = blobStore.putBlob(containername, blob);
> System.out.println(eTag);}}
> Error : requested location eu-central-1, which is not in the configured
> locations
> Solution to rectify the issue required
>
> RegardsArchana
--
Andrew Gaul
http://gaul.org/
.contentDisposition(objectname).build();
>
> // Upload the Blob
> String eTag = blobStore.putBlob(containername, blob);
> System.out.println(eTag);}}
> Error : requested location eu-central-1, which is not in the configured
> locations
> Solution to rectify the issue required
>
> RegardsArchana
--
Andrew Gaul
http://gaul.org/
th(length)
> .contentDisposition(objectname).build();
>
> // Upload the Blob
> String eTag = blobStore.putBlob(containername, blob);
> System.out.println(eTag);
> }
> }
>
> Error : requested location eu-central-1, which is not in the configured
> locations
>
> Solution to rectify the issue required
>
> Regards
> Archana