-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
i found out :
HttpsFileUploaderConfig uploaderConfig = new HttpsFileUploaderConfig(endpointURL);
// Do the upload.
// A single file is uploaded with no progress notification
result = HttpsFileUploader.upload(uploaderConfig, new File("/tmp/testfile.dat"));
// Evaluate the result.
if (!result.isError()) {
System.out.println("OK, upload successful");
} else {
System.out.println("Error uploading, http code :" + result.getHttpStatusCode());
System.out.println("Message from server : " + result.getResponseTextNoHtml());
}
Didnt explain what is the variable result actually? Is it string or something special?
Metadata
Metadata
Assignees
Labels
No labels