Oracle Public Cloud: Storage

Upload files to Oracle Storage Cloud Service, Java basic example


Obtain connection information in your OPC subscription page: Download Oracle Storage Cloud SDK: http://www.oracle.com/technetwork/topics/cloud/downloads/cloud-service-java-sdk-2121032.html Create a java Class with the following code: package storageupload; import oracle.cloud.storage.*; import oracle.cloud.storage.model.*; import oracle.cloud.storage.exception.*; import java.io.*; import java.util.*; import java.net.*; public class UploadingSegmentedObjects {    public static void main(String[] args) {        try {            CloudStorageConfig myConfig = new […]

More