Version Management > BSSC

BSSC

BSSC (BLOB Storage Service Client) is a command-line application that provides a method for bulk file uploads, downloads, and reads from a BLOB Storage Service. You must have security for the BLOB Storage Service to perform these operations. The BSSC is stored in the CygNet\Clients directory (Bssc.exe) on the host server.

Syntax

BSSC SITE.SERVICE {W | U | V | A | D | R | C} Folder Filename

Parameters

Parameter Description

SITE.SERVICE

BLOB Storage Service Name

{W | U | V |A | D | R | C}

Operators:

W Write (add or replace) a file to the BSS. This option always overwrites.
U

Update. This option will add a file to the BSS or overwrite it if the file is newer or has a different file size.

V

Version. This option will add a file to the BSS or replace it if the file is a newer version as determined by the timestamp or version number.

A

Add (upload). This option will copy a file to the BSS only if the file doesn't exist there.

D Delete. This option will delete a file from BSS.
R Read (download) file from BSS to the local computer.
C

Copy. This option will copy a file from the BSS, replacing it only if the BLOB is newer or has a different file size.

Note: This operation is similar to read but supports wildcards.

Note: Wildcards can be specified for all operators.

Folder

Folder can be any valid folder name.

Filename

Name of the file (including extension) to write to or read from the BSS. You must include the path if file does not reside or will not be written to the same directory as BSSC. A path is not necessary when using the utility to delete files. The path can be relative or absolute.

Examples

BSSC MYSITE.APPS A CLIENTS x*.*

This example copies all files beginning with "x" from the current Microsoft Windows folder into the CLIENTS folder in the blob.

BSSC MYSITE.APPS A CLIENTS "C:\Temp\x*.*"

This example copies all files beginning with "x" from the Temp folder on the Windows C: drive into the CLIENTS folder in the blob.

BSSC MYSITE.APPS R CLIENTS *.exe

This example copies files from the specified folder (CLIENTS) in the BLOB into the current Windows folder.

BSSC MYSITE.APPS C CLIENTS *.exe

This example copies files from the specified folder (CLIENTS) in the blob to the CLIENTS folder relative to the current Windows folder.


More:

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.