DtvLong dal_gfi_bin_fil (flg)

Sets the binary mode for data exchange between server and client.

Input Parameters Significance
char flg control flag:
0 = set ASCII mode
1 = set binary mode

Output Parameters Significance
none -

Return Code Significance
0 all ok
-1 no graphical interface initialized

If you want to transmit binary files with the functions dal_gfi_get_fil or dal_gfi_put_fil, you have to set binary mode first. ASCII mode is the default setting and does not have to be explicitly specified. After dal_gfi_get_fil or dal_gfi_put_fil have been called, the system is automatically reset to ASCII mode.