Previous Topic: Product ManagementNext Topic: export—Export Product


archive—Archive Product in software library

This action will archive the specified product at the specified location.

This action has the following format:

swlibrary action=archive 
item=item_name 
version=item_version
path=path_name 
[purge]
[onserver]
[comment=comment]
comment

Optional parameter: a comment for the action.

item

Specifies the name of the product to be archived.

onserver

If coded, the destination is settled on the server, otherwise not.

path

Specifies the name of an empty directory where the product is to be archived.

purge

When the product is already archived, the product files will be deleted from the software library.

version

Specifies the version of the product to be archived.