Title: vip import media
Published: July 7, 2026

---

 1. [VIP-CLI command reference](https://docs.wpvip.com/vip-cli/commands/)
 2. [vip import](https://docs.wpvip.com/vip-cli/commands/import/)
 3. vip import media

#  vip import media

Import media files to a production environment from an archived file at a local 
path or a publicly accessible remote URL.

## Usage

    ```wp-block-preformatted
    vip import media [options]
    ```

## Options

| Option | Description | 
|  `-a`, `--app` |  [value] Target an application. Accepts a string value for the application name or an integer for the application ID. |  
|  `-e`, `--env` |  [value] Target an environment. Accepts a string value for the environment type. |  
|  `-f`, `--force` |  Skip confirmation. (default: false) |  
|  `-h`, `--help` |  Retrieve a description, examples, and available options for a (sub)command. (default: false) |  
|  `-v`, `--version` |  Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false) |  
|  `-d`, `--debug` |  [value] Generate verbose output during command execution to help identify or fix errors or bugs. –exportFileErrorsToJson [value] Format the error log in JSON. Default is TXT. |  
|  `-s`, `--saveErrorLog` |  [value] Skip the confirmation prompt and download an error log for the import automatically. |  
|  `-o`, `--overwriteExistingFiles` |  Overwrite existing files with the imported files if they have the same path and file name. (default: false) |  
|  `-i`, `--importIntermediateImages` |  Include intermediate image files in the import. (default: false) |

## Examples

    ```wp-block-preformatted
    - Import the archived file "uploads.zip" from the user's local machine to a production environment.$ vip @example-app.production import media /path/to/uploads.zip- Import the archived file "uploads.tar.gz" from a publicly accessible URL to a production environment.$ vip @example-app.production import media https://example.com/uploads.tar.gz- Overwrite existing files with the imported files if they have the same file path and name, and format the error log for the import in JSON.$ vip @example-app.production import media https://example.com/uploads.tgz --overwriteExistingFiles --exportFileErrorsToJson- Check the status of the most recent media import.$ vip @example-app.production import media status- Abort the currently running media import.$ vip @example-app.production import media abort
    ```

## Subcommands

| Name | Description | 
|  [`status`](https://docs.wpvip.com/vip-cli/commands/import/./status?output_format=md) |  Check the status of a currently running media import or retrieve an error log of the most recent media import. |  
|  [`abort`](https://docs.wpvip.com/vip-cli/commands/import/./abort?output_format=md) |  Abort the media import currently in progress. |

Last updated: July 07, 2026