| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GSetupDownloadFile()

string [] GSetupDownloadFile | ( | string | path,
|  | Int32 | options
| ) |  |
| inline

Allows downloading of a Galil compressed backup (gcb) file to the controller.

Parameters

  path | The full filepath of the gcb file.
  options | A bit mask indicating which sectors of the gcb file to restore to the controller.

Returns
  The controller information stored in the gcb file.

Wrapper around gclib GSetupDownloadFile(),

If options is specified as 0, the return string will have a number appended corresponding to a bit mask of the available gcb sectors

Exceptions

  System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib.

Definition at line 655 of file gclib.cs.