Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
avatar
Cloudera Employee

For users experiencing trouble uploading a file to a case using the standard ‘UPLOAD FILE(s)’ method from the Case Attachment tab, the following alternatives exist:

Upload files from the command line

30GB Limit

This method utilizes a java program to allow case attachments to be uploaded via the command line. This method is intended for those who are experiencing trouble with the case attachment UI or who prefer to upload a file from the command line.  This method also supports proxy parameters

How to use:
  • Download the JAR
  • Run the program:

    Usage: java -jar cloudera.attachment.cli.jar [case_number] [email_address] [file_name...]

    Example:  java -jar cloudera.attachment.cli.jar 55555 customer@company.com logs1.log logs2.log

    The above example uploads logs1.log and logs2.log to case number 55555 from customer@company.com

    Supported proxy command line properties include:  -Dhttp.proxyHost=, -Dhttp.proxyPort=, -Dhttp.proxyUsername=, -Dhttp.proxyPassword=

    Example: java -jar -Dhttp.proxyHost=192.x.x.x -Dhttp.proxyPort=8080 cloudera.attachment.cli.jar 55555 customer@company.com logs1.log

 

1,600 Views
0 Kudos