Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to encode files with base64

Applies to:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64

Goal:

This document outlines the steps required to encode a file using base64

Solution:

If there are issues in uploading data or the data files are rejected by the Customer Portal (including sosreports ), there are a number of options that will help to get the data uploaded

The example here relates to an sosreport, but the data could be anything that is rejected by the Support Portal.

Option 1 – Encode the file with base64

Use base64 to encode the file.

$ sudo base64 sosreport-ab-c-def-ghi-jkl-2024-11-29-hostname.tar.xz > sosreport-ab-c-def-ghi-jkl-2024-11-29-hostname.tar.xz.base64

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!