Loading

Splitting Files larger than 2GB to upload them to Help Center

게시 일자: Jun 13, 2024
과업

GOAL

This knowledge article aims to provide a guide on how, if needed, to split a single large file into multiple smaller files, allowing you to successfully upload a file, that is greater than 2GB in size, to the Salesforce Help Center Portal. The Help Center Portal currently has a single-file upload limit of 2GB.  

We will cover various methods and tools available for different platforms, including Windows, macOS, and Linux.

Good to Know: MuleSoft is currently working on increasing the single-file upload limit on the Help Center Portal. 

단계

NOTE

We kindly encourage you to follow the procedures and utilities detailed below for a seamless support experience. By using these recommended methods, we can ensure that your files are compatible and avoid potential delays in progressing your support case. 

Please note that other file utilities, such as 7zip, may not always output compatible files, and is why we recommend the following procedures and utilities outlined in this knowledge base article below.


Mac/Linux

We recommend first, before running the split command below, compressing the file you wish to split using the gzip command (i.e., gzip ‘filename.txt’ – and replacing ‘filename.txt’ with the name and file extension of the file you wish to first compress).

To split a file in a Linux or Mac OS environment, you should run the following split command, updating the filenames as required: 

$ split -b 1536m rtf-appliance-report.tar.gz "rtf-appliance-report.tar.gz.part"

Where:

  • [-b 1536m]is the option/flag that defines the size to break down the file into for uploading to the Help Center Portal. We recommend you use 1536m (i.e., 1.5GB) option, to help ensure issue-free uploading of each file part, to the MuleSoft Help Center Portal.  
  • [rtf-appliance-report.tar.gz] is the original filename (or if needed full path and filename) of the file you wish to split. Please update this to your specific file name. 
  • ["rtf-appliance-report.tar.gz.part"] is the new filenames (or if needed full path and filenames) that will be created when the split command is run. Each new file created will append two lowercase alphabetical characters to the filename (i.e., aa, ab, etc, therefore each new file name will be rtf-appliance-report.tar.gz.partaa, rtf-appliance-report.tar.gz.partab, etc.).

 

If needed, to bind the split files back together into a single file, you can run the following cat command (in Linux/MacOS). 

The example below assumes you run the cat command within the same directory as the split files are located. The new output file will also output to the same directory you can, however, add the full paths along with the filenames, if you would like to change this.

$ cat rtf-appliance-report.tar.gz.part* > rtf-appliance-report.tar.gz



Windows

In a Windows environment, you can use the WinZip application to split files into several smaller files, please refer to these instructions to complete this, before uploading each file to the MuleSoft Help Center Portal. 

WinZip should also be used to bind the files together into a single file. Please see the second bullet point in the notes section of the instructions on how to do this. As noted above, please do not use 7zip or other applications for this purpose so we can avoid any potential delays in progressing your support case. 

Knowledge 기사 번호

001115043

 
로드 중
Salesforce Help | Article