gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GProgramUploadFile()

GReturn GCALL GProgramUploadFile ( GCon  g,
GCStringIn  file_path 
)

Program upload to file.

Parameters
gConnection's handle.
file_pathNull-terminated string containing the path to the program file, file will be overwritten if it exists.
Returns
The success status or error code of the function. See gclib_errors.h for possible values.

See x_programs.cpp for an example.

Definition at line 430 of file gclibo.c.